1. 程式人生 > >There is no 'root'@'%' registered解決

There is no 'root'@'%' registered解決

pid spa bottom 一個 csdn 數據 機器 content htm

把別人機器上的MYSQL中的一個數據庫導出來,生成了一個.sql的文件 在我的機器上導入這個.sql文件之後,在數據庫連接時出現了如下錯誤: “There is no ‘root‘@‘%‘ registered” 解決辦法: 刪除 DEFINER=`root`@`%` DEFINER=`root`@`localhost‘, 再導入這個.sql文件,就不會出錯了。

There is no 'root'@'%' registered解決