LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help! mysql --skip-grant-options not working (https://www.linuxquestions.org/questions/linux-software-2/help-mysql-skip-grant-options-not-working-102446/)

linuxquestionsu 10-10-2003 09:09 AM

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?

david_ross 10-10-2003 01:19 PM

Try using:
/usr/sbin/safe_mysqld --skip-grant-tables

linuxquestionsu 10-11-2003 08:30 PM

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...

linuxquestionsu 10-15-2003 07:56 PM

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


All times are GMT -5. The time now is 03:24 AM.