Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th January 2007, 20:10
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
Default mysql: root access denied ~ driving me nuts!

everything was working well until i changed permissions on root (i'm stupid) and now mysql sees root as anon. user. root only has access to test db and nothing else. how can i give root back it's god status to all db's?
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
Reply With Quote
Sponsored Links
  #2  
Old 15th January 2007, 20:41
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 16 Times in 15 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Is there another user in your MySQL setup with root alike rights you can use to restore root?
Reply With Quote
  #3  
Old 15th January 2007, 20:47
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Hi,

Unfortunately, there isn't. I am open to any suggestions that can resolve this issue.

thanks
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
Reply With Quote
  #4  
Old 15th January 2007, 20:50
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 16 Times in 15 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

See http://lists.mysql.com/mysql/171366
Reply With Quote
  #5  
Old 16th January 2007, 03:20
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
 
Default

Thank you martinfst. That pointed me to the right direction. Though that post was old, i just had to use service mysqld stop, which allowed me to continue the rest of the way. I did have some problems with the other commands. Luckily, I had webmin installed and headed over to the MySQL Database Server section and changed the password there.

regards
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
monit howto Jamesk5 HOWTO-Related Questions 11 5th August 2008 15:10
Subdomains through ISPConfig for different purposes wustl_2008 Tips/Tricks/Mods 31 25th October 2007 21:45
VMWare install on Ubuntu problem with the IP velonis HOWTO-Related Questions 10 21st September 2006 14:19
Apache - Virtual hosts - ISPConfig Hans Server Operation 8 23rd April 2006 16:29
Everything owned by root !!! wwparrish Installation/Configuration 6 7th February 2006 21:25


All times are GMT +2. The time now is 06:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.