There is no 'root '@ '% ' registered " 错误
2014-05-07 18:04
363 查看
背景:
把别人机器上的MYSQL中的一个数据库导出来,生成了一个.sql的文件,接着在自己的机器上导入这个.sql文件之后,在
数据库连接时出现了如下错误:“There is no 'root'@'%' registered”
解决:
只需把sql中的'root'@'%' 字段全部替换成 'root'@'localhost' 就肯定可以
把别人机器上的MYSQL中的一个数据库导出来,生成了一个.sql的文件,接着在自己的机器上导入这个.sql文件之后,在
数据库连接时出现了如下错误:“There is no 'root'@'%' registered”
解决:
只需把sql中的'root'@'%' 字段全部替换成 'root'@'localhost' 就肯定可以
相关文章推荐
- 解决 C++错误 error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no
- There is no build provider registered for the extension '.cshtml'.
- MySql:视图错误 There is no 'root'@'%' registered
- Struts2 错误:There is no result type defined for type 'json' mapped with name 'success'.
- struts2 配置错误There is no result type defined for type 'json'
- Mybatis找不到参数错误:There is no getter for property named 'categoryId' in 'class java.lang.Integer'。
- 错误解决:There is no getter for property named 'id' in class 'java.lang.String'
- Solution: 无法察看SQL Server 数据库属性 错误: "There is no row at position 0. (System.Data)"
- gdb调试错误:No symbol table is loaded. Use the "file&qu
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- "There" is no better than "Here
- 使用微信登录出现错误:There is no registered handler for URL scheme weixin
- mybatis加Spring项目: 解决There is no getter for property named '***' in 'class java.lang.String'问题
- org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'id' in 'cla
- There is no READABLE property named 'id' in class 'java.lang.Integer'
- Struts2中关于"There is no Action mapped for namespace / and action name"的错误解决
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- There is no WRITEABLE property named 'unitcoefficient' in class 'com.rhyton.pems.core.domain.EnergyM
- RVM错误和解决:"RVM is not a function, selecting rubies with 'rvm use ...' will not work."
- There is no getter for property named '**' in 'class java.lang.String'