It looks like you're new here. If you want to get involved, click one of these buttons!
#bind-address = 127.0.0.1
mysql -u root -p
mysql> GRANT ALL ON database.* TO user@’1.2.3.4’ IDENTIFIED BY ‘password’;
Valentine said:Hello,first you have to comment out this line in "/etc/mysql/my.cnf":#bind-address = 127.0.0.1Then you have to login to your MySQL server:mysql -u root -pAnd grant privileges to connect remotely to database for user from IP with password:mysql> GRANT ALL ON database.* TO user@’1.2.3.4’ IDENTIFIED BY ‘password’;
Hello,first you have to comment out this line in "/etc/mysql/my.cnf":#bind-address = 127.0.0.1Then you have to login to your MySQL server:mysql -u root -pAnd grant privileges to connect remotely to database for user from IP with password:
Comments
first you have to comment out this line in "/etc/mysql/my.cnf":
#bind-address = 127.0.0.1
Then you have to login to your MySQL server:
mysql -u root -p
And grant privileges to connect remotely to database for user from IP with password:
my vps(mysql) = 1.1.1.1
my other server(gaming host) = 2.2.2.2