How to make mysql accept connections externally
Posted
by Tam
on Stack Overflow
See other posts from Stack Overflow
or by Tam
Published on 2009-06-02T05:46:23Z
Indexed on
2010/03/28
17:33 UTC
Read the original article
Hit count: 321
mysql
|mysql-management
I have a VPS and I want to make mysql DB accept connection externally (from my PC for instance). I have Debian Linux installed on the server. I checked some tutorials online and they said to comment out:
bind-address = 127.0.0.1
But this didn't seem to help! is there anything specific for VPSs? or Am I missing something else? The command that runs mysql is:
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
© Stack Overflow or respective owner