SA-MP Forums Archive
[MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045). - 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 ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045). (/showthread.php?tid=545288)



[MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045). - SpikY_ - 07.11.2014

When i restart my server so i get these following errors :

Code:
 [WARNING] CMySQLHandler::StoreResult() - No data to store.
 [WARNING] CMySQLHandler::FreeResult() - The result is already empty.
 [ERROR] CMySQLHandler::Connect() - Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045).
 [ERROR] CMySQLHandler::FreeResult() - There is nothing to free (connection is dead).
 [ERROR] CMySQLHandler::Disconnect() - You cannot call this function now (connection is dead).
 [ERROR] >> mysql_query_callback() - Invalid connection handle. (ID = 1).
Anyone have Solution to solve it?


Re: [MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045). - SpikY_ - 07.11.2014

i have already done this but still same error


Re: [MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045). - RajatPawar - 07.11.2014

You have obviously then, got a wrong password-username combination! If it's only localhost, login using root and make a new one/edit this one, not that hard!


Re: [MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045). - SpikY_ - 07.11.2014

it can be the problem of hosting site?
because i Just restart my server and i can't connect to mysql instead i didn't edit my script