首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

java操作数据库错误

2013-11-03 
java操作数据库异常mysql 1449 : The user specified as a definer (root@%) does not exist 解决方法

java操作数据库异常

mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法

?

权限问题,授权 给 root ?所有sql 权限

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)

权限问题,授权 给 root ?所有sql 权限

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)

热点排行