16.05.2011, 19:37
I just switched over from G-Stylez plugin to StrikenKid's plugin so I can use my script a 64Bit CentOS operating system. I use the same login info as last time, same host, user, db, pass as last time, but this time it wont connect.
And yes, I know that in StrikenKid's plugin the db and password are switched, that is not the problem. It simply wont let me connect. I am not a noob at MySQL and the mysql works fine, just not with this plugin.
Can someone help me please?
Код:
Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
Can someone help me please?
Код:
#define SQL_HOST "localhost" #define SQL_USER "root" #define SQL_PASS "" #define SQL_DATA "samp" new MySQL:connection = mysql_init(LOG_ONLY_ERRORS, 1); mysql_connect( SQL_HOST, SQL_USER, SQL_PASS, SQL_DATA, connection, 1);