20.01.2015, 09:29
Quote:
15:59:25] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' 15:59:25] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061) [15:59:26] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061) [19:28:12] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'vfwx10mx_ghost'@'localhost' (using password: YES) [19:28:12] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'vfwx10mx_ghost'@'localhost' (using password: YES) |
pawn Код:
#define SQL_HOST "127.0.0.1"
#define SQL_USER "vfwx10mx_ghost"
#define SQL_DATA "vfwx10mx_samp"
#define SQL_PASS "password"
mysql_connect(SQL_HOST, SQL_USER, SQL_DATA, SQL_PASS);