Hi-
I think you are getting tripped up by the same thing as I was when I 
tried to install MySQL. When you are prompted "Enter password:", you do 
NOT type the new password. You simply hit enter.
--Quentin

> Subject:
> 
> Locked out of mySQL.
> From:
> 
> "AJ Hawks" <[EMAIL PROTECTED]>
> Date:
> 
> Sat, 27 Jan 2001 01:30:30 -0700
> 
> To:
> 
> "mySQL" <[EMAIL PROTECTED]>
> 
> 
> Hello,
>       I'm trying to learn mysql & PHP. I recently set up the mysql server (with
> the file: mysql-3.23.32-pc-linux-gnu-i686.tar.gz)
> 
> My problem is this: I either forgot the password, or neglected to set up any
> user accounts.
> 
> The documentation says to do this:
> ../bin/mysqladmin -u root -p password 'new-password'
> ../bin/mysqladmin -u root -h twistedlogic -p password 'new-password'
> 
> which returns the following:
> 
> Enter password:
> ../bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root@localhost <mailto:root@localhost>' (Using 
>password: YES)'
> 
> I also tried renaming the mysql directory (in //usr/local//) and re-installing
> it. no. maybe I did something wrong there, because that seems to me it
> should have worked, being a binary package... and the mysql table being held
> in mysql/data/mysql.
> 
> anyway, if anyone knows how I can get back in.... tell me!  [:)] 
> 
> 
> thanks,
> AJ.
> 

Reply via email to