02.05.2015, 14:44
Well i haven't used pass but. .. it says used..
** IT IS LOCALHOST's u cant use it as owns.... **
mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
[19:02:10] [MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
pawn Код:
#define SQL_HOST "localhost"
#define SQL_USER "root"
#define SQL_DB "shrey"
#define SQL_PASS ""
mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
[19:02:10] [MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).