List:General Discussion« Previous MessageNext Message »
From:Robert Mark Bram Date:June 1 2003 6:09am
Subject: Re: Passwords don't work in a WinME installation?
View as plain text  
Howdy All!

I encountered a 1045 error myself and in searching Google found this thread
from March 2003. I am not sure if it was solved, so, for the record, here is
what I did to solve it.

I tried logging into mysql as default with just this command:

mysql --local-infile -h localhost

I then tried to create a user for myself with the following command and
error:

mysql>    GRANT ALL PRIVILEGES ON *.* TO rob@localhost
    ->    IDENTIFIED BY 'rob' WITH GRANT OPTION;
ERROR 1045: Access denied for user: '@127.0.0.1' (Using password: NO)
mysql>


I fixed this by quitting and logging in again as root, which has no password
set by default and making the user:

C:\mysql\bin>mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7 to server version: 4.1.0-alpha-max-debug

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

mysql>    GRANT ALL PRIVILEGES ON *.* TO rob@localhost
    ->    IDENTIFIED BY 'rob' WITH GRANT OPTION;
Query OK, 0 rows affected (0.02 sec)

mysql> exit
Bye



Rob
:)
:->
:-}

Thread
Re: Passwords don't work in a WinME installation?Robert Mark Bram1 Jun