If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Someone Please HELP! mySQL - Win Xp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-16-03, 13:39
EzCompany2Squad EzCompany2Squad is offline
Registered User
 
Join Date: Oct 2003
Location: Charlotte, NC
Posts: 9
Red face Someone Please HELP! mySQL - Win Xp

Hello
I have been trying to set up MySQL on Win xp.
I am getting

C:\>cd mysql\bin

C:\mysql\bin>mysql mysql
ERROR 1044: Access denied for user: '@localhost' to database 'mysql'

C:\mysql\bin>mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 25 to server version: 3.23.58-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+----------+
| Database |
+----------+
| mysql |
| test |
+----------+
2 rows in set (0.00 sec)

mysql> use mysql;
ERROR 1044: Access denied for user: '@localhost' to database 'mysql'


The Darn thing show me 'mysql' but would not let me get into it or use it.

Things I have already tried:
______________________________
1. checked user.myd file exists in c:\mysql\data\mysql
2. checked to see if hosts file exists and has "127.0.0.1 localhost"
3. restarted service with shell>mysqld --skip-grant-tables

NOTHING works!
Any Ideas ?

Thank you
Reply With Quote
  #2 (permalink)  
Old 10-17-03, 10:23
EzCompany2Squad EzCompany2Squad is offline
Registered User
 
Join Date: Oct 2003
Location: Charlotte, NC
Posts: 9
Re: Someone Please HELP! mySQL - Win Xp

This problem does not have an Answer...
because all that was needed was a RE - installation of everything

Thanks
Reply With Quote
  #3 (permalink)  
Old 10-17-03, 10:48
bstjean bstjean is offline
Registered User
 
Join Date: Sep 2002
Location: Montreal, Canada
Posts: 219
Re: Someone Please HELP! mySQL - Win Xp

Quote:
Originally posted by EzCompany2Squad
This problem does not have an Answer...
because all that was needed was a RE - installation of everything

Thanks
Have you tried:

mysql -u root mysql

Have you read:

http://www.mysql.com/doc/en/Access_denied.html
Reply With Quote
  #4 (permalink)  
Old 10-17-03, 11:24
EzCompany2Squad EzCompany2Squad is offline
Registered User
 
Join Date: Oct 2003
Location: Charlotte, NC
Posts: 9
Re: Someone Please HELP! mySQL - Win Xp

Quote:
Originally posted by bstjean
Have you tried:

mysql -u root mysql

Have you read:

http://www.mysql.com/doc/en/Access_denied.html
yup, none of that worked - I tried everything.
it was probably something major
as you can see...
shell>mysql mysql did not work even with skip-grant privelages

RE-INSTALLATION WAS ALL THAT WAS NEEDED.
thanks for the thought though
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On