Brian,
When you run the mysql_install_db bit, a root user is created (username =
root...imagine that!)
But, there is no password for this root user. You have to set this password yourself.
Here's how to do it:
1. $ bin/mysqladmin -u root -p password 'enter_new_password_here'
Then, try this:
2. $ bin/mysql -u root -p
Now, like I mentioned above, originally, there is no root password, so when you are
prompted for a
password, just hit ENTER.
The next time you want to run mysql, type 2 and then enter the password that you
entered from 1.
This should work. Let me know how it goes.
simon
########################
--- Brian Walker <[EMAIL PROTECTED]> wrote:
> Now that the mess with starting the server is over, I cannot access it.
> After installing the rpm files, I initialize the grant tables with
> mysql_install_db.
>
> Then I type:
>
> mysql -u root mysql
>
> The result is: ERROR 1045: Access denied for user: 'root@localhost' (Using
> password: NO)
>
> Typing mysql -u root test results in the same error. It seems I am locked
> out, but have not accessed the database at all. There is no prompt for a
> password at all.
>
> I'm installing this on a Linux box with Cobalt Linux installed and used the
> RPM installation method.
>
> No troubleshooting technique seems to work
>
> Any more help is appreciated :)
>
> Thanks
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
><[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
=====
#########################################
Simon K. Chan
<insert important-sounding title here>
"Great spirits have always encountered violent opposition from mediocre minds."
-Albert Einstein
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <mysql-unsubscribe-##L=##[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php