View Single Post
  #1   (View Single Post)  
Old 6th February 2011
erehwon erehwon is offline
Port Guard
 
Join Date: May 2008
Location: Cascadia
Posts: 34
Default Hell of a time with MySQL

I'm following the directions but no matter what I do, even after uninstalling/reinstalling, MySQL continues to error as follows:

Code:
# /usr/local/bin/mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
OK

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/local/bin/mysqladmin -u root password 'new-password'
/usr/local/bin/mysqladmin -u root -h nedra.belgar.ath.cx password 'new-password'

Alternatively you can run:
/usr/local/bin/mysql_secure_installation
My root password here is NOT the system root account, I hope? But even then, I tried it, to no avail:

Code:
# /usr/local/bin/mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user.  If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Stumped, completely stumped here. Help? Yes, I have removed the user and group _mysql after each try for reinstallation, etc. Is there some other login or passwd file that is not getting refreshed even upon uninstall/reinstall?
Reply With Quote