Skip to content

Category: Linux

How to setup open MySQL Port (3306) on Ubuntu

Step 1: ensure we have mysql-server installed. apt-get install mysql-server Then: vim /etc/mysql/my.cnf COMMENT OUT (with a ‘#’): “bind-address = 127.0.0.1” Restart Server with service mysql restart ——– To test with another linux client, use mysql -h ip.or.hostname -u root -p (ERROR 2003 (HY000): Can’t connect to MySQL server on…