Access denied for user 'user'@'localhost' (using password: YES) when trying

Mobile
feeds
Welcome Login | Register

Access denied for user 'user'@'localhost' (using password: YES) when trying
Reply Your Comments:
Click this button if you are interested in replying to this topic and leave your comments
Sent To Friend
CLick this button if you want to send this page to a friend.
Subsribe To Rss Feeds
Subscribe to RSS
CLick this button if you want to subscribe to this RSS Feed. You can use your browsers feeds burners if you have mozilla or internet explorer 7 or higher and keep up with updates.
  Forums Index
      » MYSQL Forums
        » » Access denied for user 'user'@'localhost' (using password: YES) when trying
Access denied for user 'user'@'localhost' (using password: YES) when trying
Post Description: access denied for user user localhost using password yes when trying MYSQL
Post Tags:
This Post Has Been Viewed 7039 Times Since Sun Dec 03, 2006 5:17 pm Author bigger_travis with 12 replies
Access denied for user 'user'@'localhost' (using password: YES) when trying
Advertise On This Page




hi, can you help me, i need to know why i keep getting this error?

Got error: 1045: Access denied for user 'user'@'localhost' (using password: YES) when trying to connect to database


Leave Your Comments

Your Name
Your Email Address (Will Not Be Published)
Notify Me When Someone Replies to this Page
(An email will be sent to you when someone replies to your comments)
Your Comments
Include A Picture with your comments
Share
| More
Share this page by putting this URL in your comments to other websites like myspace, Facebook, Twitter friendster, Hi5, Groups, Boards, Forum or others. Just Copy and Paste this Code
URL:
To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
Embed:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
BBCODE:
Subscribe Feeds
Webmasters - Exchange Links With Us. Add related websites to this topic
Add Link:
Links Related to : Access denied for user 'user'@'localhost' (using password: YES) when trying

Comments and replies About Access denied for user 'user'@'localhost' (using password: YES) when trying
:: 1 :: Reply #145 Reply By mysql On Fri Dec 15, 2006 8:31 pm
mysql:
you are getting this error because your script cannot connect to your database with the information you have provided.

Access denied for user 'user'@'localhost' (using password: YES) when trying to connect to database

Make sure you have the correct username and password, if you are sure you have the correct login and pasword, then you need to check with your administrator because you defenetly have either the wrong login or password and that's why your script cannot connect to your mysql database.

check these four things to make sure you have them right:

1. your hostname (usually is "localhost")
2. your database username (not your hosting username, BUT your mysql)
3. Your database password
4. Your database name

if you still cannot login, contact www.webune.com to reset your password.
:: 2 :: Reply #71306 Reply By Alex On Sat Sep 20, 2008 12:00 pm
Alex:
is the sql server on your local machine, or on a server on the internet? are you using a class file, or are you just scripting everything by hand?
:: 3 :: Reply #75229 Reply By sasiowen On Sun Oct 12, 2008 9:54 pm
sasiowen:
hi, can you help me, i need to know why i keep getting this error?

got error: 1045: access denied for user 'user' at 'localhost' (using password: yes) when trying to connect to database
:: 4 :: Reply #75233 Reply By wallpaperama On Sun Oct 12, 2008 10:06 pm
wallpaperama:
it just means your username or password is incorrect, try login in with phpmyadmin to test it out
:: 5 :: Reply #75236 Reply By sasiowen On Sun Oct 12, 2008 10:22 pm
sasiowen:
connect failed: access denied for user 'weberp_db_user' at 'localhost' (using password: yes)

can someone teach me how to solve this problem.....
plz tell me step by step.....help help help.....urgent....thank you...
:: 6 :: Reply #90568 Reply By Anand On Mon Jan 19, 2009 1:51 am
Anand:
there was a problem connecting to the database server. the following error had occured:

access denied for user 'anand' at 'localhost' (using password: yes)

please verify the connection parameters and try again.
:: 7 :: Reply #93280 Reply By shoo On Sun Feb 08, 2009 11:51 am
shoo:

$link = mysql_connect('localhost', 'datebase_user', 'datebaseuserpassword');
if (!$link) {
die('could not connect: ' . mysql_error());
}
echo 'connected successfully';
mysql_close($lin
:: 8 :: Reply #95327 Reply By sivagami On Fri Feb 27, 2009 9:29 am
sivagami:
27-538-green-1600.jpg
i am too having the same problem. can any one help me.
:: 9 :: Reply #112055 Reply By Vatisho On Sat Aug 08, 2009 9:54 am
Vatisho:
i love you "mysql helper"
that really worked (the default name "localhost") it was so simple but i didn't know it, thanx again! marry me xd lol

thanx a lot
:: 10 :: Reply #121768 Reply By lee On Sat Nov 28, 2009 5:51 am
lee:
28-538-help-05.gif
qq
:: 11 :: Reply #128669 Reply By Cxxxxx On Sun Feb 21, 2010 6:47 pm
Cxxxxx:
That's great and all, I'm glad someone could read between the lines of code, but as for us newbies...can we get a step-by-step on how to update the password in the database?
:: 12 :: Reply #128670 Reply By wallpaperama On Sun Feb 21, 2010 7:01 pm
wallpaperama:
if you are the root or administrator of the server all you have to do is send this command to set the root password:

mysqladmin -u root password WHATEVER_PASSWORD


NOTE: WHATEVER_PASSWORD is whatever password you want to set for you sql