MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 30th, 2000, 07:48 PM
sano sano is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Redmond, WA
Posts: 218 sano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I'm having trouble with my mySQL server on my local computer --

Whenever I type mysql -h localhost -u sano -p
and it asks for the password, and I type it in, it returns with:

error 1045: Access denied for user: 'sano@localhost' (Using password: YES)

My questions:

1. Why does this happen?
2. How can I tell if I ever set a password for this account (I can also access by just using -h and -u without the -p flag)
3. What's the command to change my password?
4. How do I add additional usernames?

Thanks in advance!

Chris

Reply With Quote
  #2  
Old July 1st, 2000, 12:41 AM
lhallusa lhallusa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 43 lhallusa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to lhallusa
Access denied for user error
If you get the error Access denied for user: 'some-user@unknown' to database 'mysql' when accessing a MySQL server on the same machine, this means that MySQL can't resolve your host name properly. To fix this, you should create a file `windowshosts' with the following information:
127.0.0.1 localhost

Here are some URL if you care to read them I believe the MySQL manual will answer all your questions.
http://src.doc.ic.ac.uk/packages/my...rivilege_system

http://src.doc.ic.ac.uk/packages/my...#Win32_vs._Unix
http://src.doc.ic.ac.uk/packages/my...l#Win32_running

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > authenication help on local win32 box


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 5 hosted by Hostway
Stay green...Green IT