SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 07/11/2014, 04:15 PM   #1
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Posts: 1,247
Reputation: 128
Default [MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045).

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?
__________________
-
SpikY_ is offline   Reply With Quote
Old 07/11/2014, 04:42 PM   #2
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Posts: 1,247
Reputation: 128
Default Re: [MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045).

i have already done this but still same error
__________________
-
SpikY_ is offline   Reply With Quote
Old 07/11/2014, 05:04 PM   #3
RajatPawar
High-roller
 
RajatPawar's Avatar
 
Join Date: Aug 2011
Location: ヽ༼ຈل͜ຈ༽ノ
Posts: 2,180
Reputation: 311
Default Re: [MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045).

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!
RajatPawar is offline   Reply With Quote
Old 07/11/2014, 05:09 PM   #4
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Posts: 1,247
Reputation: 128
Default Re: [MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045).

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
__________________
-
SpikY_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error (0): Failed to connect. Access denied for user 'samp'@'localhost' (using password: YES). iJohann3s Scripting Help 0 06/02/2014 05:26 PM
MYSQL Access Denied with right user and pass Mattakil Server Support 12 04/12/2013 08:50 PM
Access denied for user 'root'@'localhost' (using password: YES). munsee Server Support 7 29/06/2013 05:10 AM
My SQL " Access denied for root@localhost mahony0509 Scripting Help 3 24/04/2013 09:12 PM


All times are GMT. The time now is 01:16 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.