728x90 AdSpace

Latest News

Monday, March 21, 2016

Switch MySQL to listen on TCP

By default, MySQL only allows connections from the localhost address. The configuration file is usually found in /etc/mysql/my.cnf You will want to comment out the bind-address line by making it look like this:
#bind-address     = 127.0.0.1
Next, you will need to restart the database server:
sudo /etc/init.d/mysql restart
Switch MySQL to listen on TCP
  • Title : Switch MySQL to listen on TCP
  • Posted by :
  • Date : 9:42 PM
  • Labels :
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Top