Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-10-2003, 09:09 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Angry help! mysql --skip-grant-options not working

I can't get into mysql because it was installed througha red hat rpm, and I don't know the password

Red Hat 9

I tried to start it with the --skip-grant-tables option,
but it says :

[root@redhat bin]# mysql start --skip-grant-tables
mysql: unrecognized option `--skip-grant-tables'

what can I do?
Old 10-10-2003, 01:19 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Try using:
/usr/sbin/safe_mysqld --skip-grant-tables
Old 10-11-2003, 08:30 PM   #3
LQ Newbie
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
that worked but...

ok, that worked.. it said [OK]

but then when I tried to get into mysql or mysqladmin -u root, it said access denied...

I'm re-installing red hat 9 all over again. I can only assume it got messed up some how...
Old 10-15-2003, 07:56 PM   #4
LQ Newbie
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Wink worked after reinstall

I wiped the machine clean and reinstalled everything from the red hat 9.0 cd-rom's, and everything worked beautifully

I even got phpmyadmin installed and working.

thanks for your help, this problem was driving me crazy, and making me think maybe it is worth it to pay $15,000 for a Microsoft Database Server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grant Privileges - MySQL Jannyno Linux - General 2 06-23-2012 02:00 AM
Why mysql GRANT does not work? robertoneto123 Linux - Software 2 01-23-2004 07:33 AM
Updating MySQL grant tables... sigep739 Linux - Newbie 2 01-03-2004 11:57 PM
mysql grant issues Robin01 Linux - Newbie 1 10-29-2003 09:56 PM
MYSQL GRANT etc etc markopolox Programming 8 09-23-2003 02:58 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration