SA-MP Forums Archive
MySQL Error. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL Error. (/showthread.php?tid=531626)



MySQL Error. - Gogorakis - 13.08.2014

idk if the script cause that but anyone I post my problem here too..
Check this: https://sampforum.blast.hk/showthread.php?tid=531611


Re: MySQL Error. - Clad - 13.08.2014

Try to change Localhost to 127.0.0.1 and see if it does work.


Re: MySQL Error. - Gogorakis - 13.08.2014

Same.
Quote:

[21:12:58] [MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
[21:12:58] [MySQL] Error (0): Function: mysql_ping called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[21:12:58] MySQL-Connection is successfully established




Re: MySQL Error. - Clad - 13.08.2014

Quote:
Originally Posted by Gogorakis
Посмотреть сообщение
Same.
I beleive your password is wrong check it, And make sure to don't let spaces.


Re: MySQL Error. - Gogorakis - 13.08.2014

Quote:

#define MySql_Host "127.0.0.1"
#define MySql_User "root" // Liveserver richtige
#define MySql_Password ""
#define MySql_Database "samp_dsz"

I don't have a password..?


Re: MySQL Error. - Clad - 13.08.2014

Use WampServer


Re: MySQL Error. - Gogorakis - 13.08.2014

Still nothing..

EDIT: I turn Wamp and XAMPP off and the error is the same..(I am newbie -MYSQL- so I probably say something with non-sense..;p)


Re: MySQL Error. - Clad - 13.08.2014

You need Password to run MySQL, Make a new account with password.


Re: MySQL Error. - Gogorakis - 13.08.2014

Even if it's a localhost?


Re: MySQL Error. - Clad - 13.08.2014

I think so.