PHPmyAdmin 安装帮助 - 无用户权限

发布于 2024-11-29 00:36:14 字数 111 浏览 0 评论 0原文

在我刚刚与 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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

猫九 2024-12-06 00:36:14

如果您至少知道 root 密码,则可以使用 MySQL 命令行向给定用户授予权限。

mysql> GRANT ALL PRIVILEGES ON *.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;

您可以查看 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.

mysql> GRANT ALL PRIVILEGES ON *.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;

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.

爱她像谁 2024-12-06 00:36:14

检查/重置用户的权限,不要忘记刷新他们的缓存。

但这不是编程问题

Check/reset user's permissions and don't forgot to flush their cache.

This isn't programmatically question though

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文