SunQuest
 
           MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 3rd, 2005, 05:48 PM
paulevision paulevision is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 3 paulevision User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 45 sec
Reputation Power: 0
Mysql password problems

Hi this is my first time on this forum. hope sombody can help me
Basically I have mysql installed on my machine and it works fine
On installation I was prompted for a user name and password
which I entered. But if I go to the command line and enter the
command "mysql -u root -p" I 'am asked for my password, so I
enter the one I gave to the mysqladmin. On doing this I get an
error 1045 stating "access denied for user:'root@127.0.0.1'
(using password: yes)". How can Iget mysql to log me on by
using the password I provided on installation?
Would be very greatful for any help on this issue as it is driving
me mad...thanks...Paul

Reply With Quote
  #2  
Old February 4th, 2005, 07:41 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Try using root with no password....
similarly, try using no username and no password...

sometimes both of these logins are setup by defualt.

Reply With Quote
  #3  
Old February 4th, 2005, 09:07 AM
paulevision paulevision is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 3 paulevision User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 45 sec
Reputation Power: 0
Thanks for the reply

Yes I can enter root with no password and it works, or with both root and password
removed. The thing is though, I want to use a root name and password for security
reasons. On installation of mysql, i entered a root user name and password in the
mysqladmin section. But these values are not accepted from the command line of mysql
How can I set up root user and password details?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Mysql password problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway