PHPmyAdmin 安装帮助 - 无用户权限
在我刚刚与 LAMP 堆栈的其余部分一起安装的 Ubuntu 桌面测试服务器中使用 PHPMyAdmin,当我使用 PHPmyAdmin 时,它说我没有权限。
我可以做些什么来克服这个问题吗?
Using PHPMyAdmin in a Ubuntu desktop test server box that I have just installed with the rest of LAMP stack and when I use PHPmyAdmin and it says that I have no privelidges.
Is there any thing that I can do to get over this problem.?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您至少知道 root 密码,则可以使用 MySQL 命令行向给定用户授予权限。
您可以查看 Ubuntu 社区文档,了解如何对 LAMP 服务器进行此配置和其他配置。大约在页面的中间,他们专门讨论了 MySQL 以及如何通过命令行设置/配置它。
You can use the MySQL command line to grant permissions to a given user if you know at least the root password.
You can check out the Ubuntu community docs about how to do this and other configuration for a LAMP server. About halfway down the page they discuss MySQL specifically and how to set it up/configure it via command line.
检查/重置用户的权限,不要忘记刷新他们的缓存。
但这不是编程问题
Check/reset user's permissions and don't forgot to flush their cache.
This isn't programmatically question though