- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業(yè)務(wù)經(jīng)營(yíng)許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯(lián)網(wǎng)協(xié)會(huì )理事單位
- 安全聯(lián)盟認證網(wǎng)站身份V標記
- 域名注冊服務(wù)機構許可:滇D3-20230001
- 代理域名注冊服務(wù)機構:新網(wǎng)數碼
通過(guò)ip連接MySQL時(shí)出現1449、1045異常
mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法
把sql導到本地,執行存儲過(guò)程 或者 查看視頻報錯:
mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法
權限問(wèn)題,授權 給 root 所有sql 權限
mysql> grant all privileges on *.* to root@"%" identified by ".";
SQLException: The user specified as a definer ('ebook'@'%') does not exist:解決辦法
grant all privileges on *.* to ebook@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
#Mysql
連接時(shí)出現1045異常:
如果是mysql 5.6以前的,輸入UPDATE mysql.user SET Password=PASSWORD('123456') WHERE User='root';
如果是mysql 5.6以后的,輸入UPDATE mysql.user SET authentication_string=PASSWORD('root') WHERE USER='root';
這是由于5.6以后user表中沒(méi)有password字段。
輸入FLUSH PRIVILEGES; 刷新數據庫。
售前咨詢(xún)
售后咨詢(xún)
備案咨詢(xún)
二維碼
TOP