To begin with, there is no password, so mysqladmin -u root will get you
in. If you want to change password then use mysqladmin -u root password
new-password. After changing the password, you then need to use -p option.
----- Original Message -----
From: "Jon J. Morin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 8:27
Subject: much trouble installing on linux
> Hi everybody. I think that I have successfully installed version 3.23.37
on
> my Linux box. The problem is, is that I am new to mysql and I can't get a
> few things to work. I am logged in as root. I am in the mysql directory
> (/usr/local/mysql). I try bin/mysqladmin --password <newpassword> and it
> prompts me for a password. I enter one and it tells me that
root@localhost
> is an invalid user. I noticed that the install created a user called
mysql.
> I su'ed to mysql and tried the same operation and I still get invalid user
> error. How in the world do you log on to mysql when you don't know the
> password to begin with. It sounds to me like a permissions error, but I
> don't know how to fix it. Anybody know how to help me? It would be
> appreciated. This has gotten me very frustrated because I have this great
> book and I am eager to learn, but I can't use the product from square one.
> Thanks.
>
> Jon J. Morin
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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