There is no 'root'@'%' registered
来源:互联网 发布:超图软件股份有限公司 编辑:程序博客网 时间:2024/04/27 21:01
问题就是mysql视图中,属性DEFINER需要更改。
首先上面的那句话的意思是,这里没有一个叫'root'@'%' 的用户存在。因为你导入的目标MYSQL服务器里面没有这个用户,所以在数据库里,在相应的用户管理上建立一个名为“%”的用户,再将相应的权限(注意视图和存储过程的管理权限在默认情况下是不赋予的)分配给这个用户即可。
PS:关于这个'root'@'%' ,这个形式就是'A'@'B'的形式,它的意思是,密码正确的前提下,IP或域名为B才可以使用MYSQL服务器上的用户名为A的权限。而'root'@'%'的意思是,密码正确的前提下任何人都可以使用MYSQL名为'root'用户的权限,即最高管理员权限。
解决方法:
在你的mysql中执行如下语句。并将 蓝色 中 @ 后面改为 数据库所在机得IP,即可。
0 0
- There is no 'root'@'%' registered
- There is no 'root'@'%' registered
- There is no 'root '@ '% ' registered " 错误
- There is no 'root'@'%' registered解决
- mysql出现:There is no 'root '@ '% ' registered 解决方法
- There is no 'usportal'@'%' registered
- 导入.sql脚本后项目报错:There is no 'root'@'%' registered
- There is no build provider registered for the extension '.cshtml'.
- This is probably because there is no OLE editor registered against the type
- 使用微信登录出现错误:There is no registered handler for URL scheme weixin
- 支付宝问题LaunchServices: ERROR: There is no registered handler for URL scheme alipay
- ITK:There are no registered IO factories
- There is no source found
- there is no soundcard 问题解决
- there is no staged files
- 关于There is no getter for property named 'mohuname' in 'class java.lang.String'] with root cause问题
- There is no royal road to science....
- there is no point in doing sth~
- Android:Failed to install smartlife.apk on device 'emulator-5554': timeout
- CentOS7安装Oracle 12C
- jQuery中$.get、$.post、$.getJSON和$.ajax的用法详解
- swift(三)
- iOS - UIStatusBar 状态栏设置黑色+白色
- There is no 'root'@'%' registered
- VirtualBox Guest Additions
- NativeActivity原理
- ruby环境的安装
- iOS开发 基本绘图/Quartz 2D/Core Image
- 打鱼还是晒网C++
- NYOJ2 括号配对问题
- 常用的XCode插件
- 位域 大小端