How to fix: Can't connect to MySQL server on '127.0.0.1' (111)
Page 1 of 1 • Share •
How to fix: Can't connect to MySQL server on '127.0.0.1' (111)
I was trying to access a mysql database on my local slackware server and, you guessed it, got this nasty error.
If you come across this too here's what you'll have to do:
Edit /etc/mysql/my.cnf and comment this line so it will look like this:
But here's the catch, this same option is present in
reboot mysql and you're done:
If you come across this too here's what you'll have to do:
Edit /etc/mysql/my.cnf and comment this line so it will look like this:
- Code:
#skip-networking
But here's the catch, this same option is present in
- Code:
/etc/rc.d/rc.mysqld
reboot mysql and you're done:
- Code:
/etc/rc.d/rc.mysqld restart
Similar topics» Pen-and-ink (connect)
» Sa-mp connect localhost
» connect Only.AiurEa.nEt:27026
» VB.net+mysql connection string
» Another Mod on the Server
» Sa-mp connect localhost
» connect Only.AiurEa.nEt:27026
» VB.net+mysql connection string
» Another Mod on the Server
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum