Plesk 向数据库用户分配权限。 “没有特权”错误
我是 Plesk 的新手,这次我一直使用 cPlanel,从来没有遇到过这样的问题。
我在子域上创建了数据库并将用户添加到该数据库,当我进入 phpMyAdmin 时,我收到错误“无权限”。因此我无法通过 php 连接到数据库。 这就是它的样子
http://imageshack.us/photo/my- images/9/unledpyzx.png/
priv http://imageshack.us/photo/my-images/9/unledpyzx.png/ 先感谢您
I am new with Plesk, I used cPlanel whole this time, and never had problems like this.
I created database on subdomain and add user to that database, and when I enter in phpMyAdmin i get error "No Privileges". I cannot connect to database trough php because of this.
This is how it looks
http://imageshack.us/photo/my-images/9/unledpyzx.png/
priv http://imageshack.us/photo/my-images/9/unledpyzx.png/
Thank you in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Plesk 不会授予您通过 phpMyAdmin 工具创建数据库的权限,而是为您提供了用于创建数据库的不同界面。看起来您已经完成了该步骤,所以应该没问题。您需要做的下一件事是定义您的数据库结构,您可以使用 phpMyAdmin 来完成。
Plesk doesn't give you permissions to create databases through the phpMyAdmin tool, and instead gives you a different interface for creating databases. It looks like you've already completed that step, so you should be fine. The next thing you need to do is define your db structure, which you can do using phpMyAdmin.