Question

I have faced a probleme qith my cpanel , I try to add the Additional MySQL Access Hosts but I got an error , so I need to edit that manually throught SSH , if someone could tell me where is saved this information , I can edit it and add my additional Host

Thanks

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top