|
Hi
Edit the file /etc/mysql/my.cnf
Look for the line:
bind-address = 127.0.0.1
Either comment out the line, delete it, or change it to:
bind-address = 0.0.0.0
Then restart mysql.
Also, you need to check the mysql privileges. Typically, you use something like
grant all privileges on databasename.* to someuser@localhost identified by 'somepassword';
I think it's better to limit the access, change @localhost to @clientsaddress
|