$ sudo vim /etc/mysql/my.cnf # change this line from 127.0.0.1 to your ip. # bind-address = [your-server-ip] # then just restart mysql server. # sudo /etc/init.d/mysql restart
Thoughts on cloud, observability, appdev, architecture, and open source software, but not always in that order...
Monday, February 19, 2007
Ubuntu MySql allowing TCP connections
A default setting for the Ubuntu mysql database is to not allow external TCP connections, to get this to work one needs to adjust the /etc/mysql/my.cnf file as follows:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.