I'd just like to know what the number '64' represents in MySQL connection error message:
Can't connect to MySQL server on '127.0.0.1' (64) in /var/www/test.php
Thank you.
I'd just like to know what the number '64' represents in MySQL connection error message:
Can't connect to MySQL server on '127.0.0.1' (64) in /var/www/test.php
Thank you.
$ perror 64
OS error code 64: Machine is not on the network
...
Yeah, not a clue what that means either.
Error 64 means the machine is not on the network.
Clearly the machine is on the network as it is your own, however the error might suggest that either MySQL is not running or may be running on a non standard port.
The PHP function mysql_error()
will give you the textual representation of any error MySQL might throw.