Skip to main content

Grant access to remote IP address - [MYSQL] IP Does not have permission

Grant access to remote IP address

Connect to mysql server:
$ mysql -uroot -p 

Grant access to a new database

mysql> CREATE DATABASE newDBName;
mysql> GRANT ALL ON newDBName.* TO zahmed@'172.16.200.12' IDENTIFIED BY 'zahmed';

Comments