Results 1 to 4 of 4
hello
i am hoping that someone can help me.
i accidently deleted the root user for mysql
i am using fedora 4.
if someone could help me get the root ...
- 03-26-2008 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 96
HELP!!! I deleted mysql user root
hello
i am hoping that someone can help me.
i accidently deleted the root user for mysql
i am using fedora 4.
if someone could help me get the root user back that would be heavenly.
thanks.
- 03-26-2008 #2Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 658
There is an article in the documentation on how to reset the root password in mysql
It uses a custom init file to perform the password reset so you should be able to add a grant command in there to put a root user back on the database.
Let us know how you get on,
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.
- 03-27-2008 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 96
thanks
i went thru the process and still i am not able to connect. i keep getting access denied. i dont think that it is recreating the root user.
when i did this
it said thisCode:mysqld_safe --init-file=/var/lib/mysql/mysql-init &
and just sat there and did nothing else.Code:Starting mysqld daemon with databases from /var/lib/mysql
do you think that if i upgrade the database to mysql 5 it will recreate the root user?
- 03-27-2008 #4Just Joined!
- Join Date
- Sep 2007
- Posts
- 96
i got it.
i had to restart mysql without the init-file after i started it with the init-file and i had my root user back.
thanks


Reply With Quote