MySQL数据库常见问题(一)
The user specified as a definer ('root'@'%') does not exist
解决方法:
1.cmd进入命令行界面
2.输入指令,进入mysql数据库:
mysql -u root -p root;
3.给mysql添加权限
mysql> grant all privileges on *.* to root@"%" identified by "."; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec)
结束。
浙公网安备 33010602011771号