0

我的 cpanel 遇到了一个问题,我尝试添加 Additional MySQL Access Hosts 但出现错误,所以我需要通过 SSH 手动编辑它,如果有人能告诉我这些信息保存在哪里,我可以编辑它并添加我的额外主机

谢谢

4

1 回答 1

0

The information you're looking for is stored in `mysql`.`user`.

It might be easier to use a separate GRANT statement (which will create a new user if it doesn't exist) for a specific host. You may also use a host wildcard (%).

GRANT [YOUR RIGHTS] ON *.`YOURSCHEMA` TO `YOURUSER`@`HOST` IDENTIFIED BY 'USERPASSWORD';

See http://dev.mysql.com/doc/refman/5.6/en/grant.html for additional information.

于 2013-07-13T04:54:30.290 回答