23.01.2013, 00:27
As Posted Here: http://forum.sa-mp.com/showpost.php?...postcount=2970
When I try to connect using "localhost" (which I've always been doing)
When I change to 127.0.0.1, it does this. (I think it is because the actual MySQL is set up as localhost)
Using RC7-2-v4 on Centos 5.3 64-bit. Any help please? The MySQL connection is up...
This fix is really urgent, I'll pay anyone who can help me with this fast, upload a working version or something!
When I try to connect using "localhost" (which I've always been doing)
Code:
[02:27:09] >> mysql_connect(localhost, lscnr_****, lscnr_****, ******) on port 3306 [02:27:09] CMySQLHandler::CMySQLHandler() - constructor called. [02:27:09] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "lscnr_***" | Username: "lscnr_****" [02:27:09] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
Code:
[02:17:20] >> mysql_connect(127.0.0.1, lscnr_****, lscnr_****, ******) on port 3306[02:17:20] CMySQLHandler::CMySQLHandler() - constructor called. [02:17:20] CMySQLHandler::CMySQLHandler() - Connecting to "127.0.0.1" | DB: "lscnr_****" | Username: "lscnr_****" [02:17:20] CMySQLHandler::Connect() - Can't connect to MySQL server on '127.0.0.1' (111) (Error ID: 2003)
This fix is really urgent, I'll pay anyone who can help me with this fast, upload a working version or something!