« Confluence and JIRA with HTTPS | Main | Building an Development Server »
Thursday
Jun022011

Getting MySQL Workbench to work on a remote host

When you first install MySQL on Ubuntu 10.04 server it is configured to only allow connections from localhost and so if you want to connect MySQL Workbench to the server for administration purposes then you need to allow connections from any IP address. This editing the /etc/mysql/my.cnf file and find the section [mysqld] and edit the bind-address entry from 127.0.0.1 to be your full IP address or if you want to bind to all addresses then use 0.0.0.0. Also make sure that there is no skip-networking section.

And don't forget to restart MySql

And grant privileges to root for remote administration, through the mysql console

You will also need to add the MySql port to the firewall rules to allow access

Thanks to Vivek Gite over at nixCraft for his great artical on the same subject.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (1)

contented mind is the greatest blessing a man can enjoy in this world.-Audemars Piguet 2008 Singapore InAugural watch uk

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>