#define MYSQL_HOSTNAME "144.***.248.***" // PLUX. #define MYSQL_DATABASE "communit_samp" #define MYSQL_USERNAME "communit_samp" #define MYSQL_PASSWORD "***" |
connectionID = mysql_connect(MYSQL_HOSTNAME, MYSQL_USERNAME, MYSQL_DATABASE, MYSQL_PASSWORD); if(mysql_errno(connectionID)) { print("[ERROR] - Unable to establish a connection with the MySQL server..."); SendRconCommand("exit"); return 0; } radioConnectionID = mysql_connect(MYSQL_HOSTNAME, MYSQL_USERNAME, "shoutcast", MYSQL_PASSWORD); if(mysql_errno(radioConnectionID)) { print("[WARNING] - Couldn't connect to radio station database... server will continue to operate normally."); radioConnectionID = 0; } |
[18:15:37] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061) [18:15:38] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'communit_samp'@'bzq-79-178-79-64.red.bezeqint.net' (using password: YES) [18:15:38] [WARNING] CMySQLConnection:isconnect - no connection available [18:15:38] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'communit_samp'@'bzq-79-178-79-64.red.bezeqint.net' (using password: YES) [18:15:38] [WARNING] CMySQLConnection:isconnect - no connection available [18:15:38] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'communit_samp'@'bzq-79-178-79-64.red.bezeqint.net' (using password: YES) [18:15:38] [WARNING] CMySQLConnection:isconnect - no connection available [18:15:38] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'communit_samp'@'bzq-79-178-79-64.red.bezeqint.net' (using password: YES) [18:15:38] [WARNING] CMySQLConnection:isconnect - no connection available [18:15:39] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061) [18:15:39] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061) [18:15:39] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061) |