dbTalk Databases Forums  

Reset rights for root@localhost

comp.databases.mysql comp.databases.mysql


Discuss Reset rights for root@localhost in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jens Riedel
 
Posts: n/a

Default Reset rights for root@localhost - 04-11-2011 , 06:30 AM






Hi,

I have an urgent problem:

A colleague changed the "root@localhost" in the user management into
"root@%"

Now we can't access anymore, neither via localhost nor from remote.

Any hints how to repair this and enable root@localhost again are very
appreciated.

Thanks
Jens

Reply With Quote
  #2  
Old   
Jerry Stuckle
 
Posts: n/a

Default Re: Reset rights for root@localhost - 04-11-2011 , 06:46 AM






On 4/11/2011 7:30 AM, Jens Riedel wrote:
Quote:
Hi,

I have an urgent problem:

A colleague changed the "root@localhost" in the user management into
"root@%"

Now we can't access anymore, neither via localhost nor from remote.

Any hints how to repair this and enable root@localhost again are very
appreciated.

Thanks
Jens
First step would be to start MySQL without any user authentication - see
http://dev.mysql.com/doc/refman/5.5/...rmissions.html

Then you should be able to get in and correct the tables.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex (AT) attglobal (DOT) net
==================

Reply With Quote
  #3  
Old   
Jens Riedel
 
Posts: n/a

Default Re: Reset rights for root@localhost - 04-11-2011 , 07:35 AM



Thank you, that worked.

Jens

Am 11.04.2011 13:46, schrieb Jerry Stuckle:
Quote:
On 4/11/2011 7:30 AM, Jens Riedel wrote:
Hi,

I have an urgent problem:

A colleague changed the "root@localhost" in the user management into
"root@%"

Now we can't access anymore, neither via localhost nor from remote.

Any hints how to repair this and enable root@localhost again are very
appreciated.

Thanks
Jens

First step would be to start MySQL without any user authentication - see
http://dev.mysql.com/doc/refman/5.5/...rmissions.html

Then you should be able to get in and correct the tables.

Reply With Quote
  #4  
Old   
Joe Hesse
 
Posts: n/a

Default Re: Reset rights for root@localhost - 04-11-2011 , 01:34 PM



On Mon, 11 Apr 2011 14:35:50 +0200, Jens Riedel wrote:

Quote:
Thank you, that worked.

Jens

Am 11.04.2011 13:46, schrieb Jerry Stuckle:
On 4/11/2011 7:30 AM, Jens Riedel wrote:
Hi,

I have an urgent problem:

A colleague changed the "root@localhost" in the user management into
"root@%"

Now we can't access anymore, neither via localhost nor from remote.

Any hints how to repair this and enable root@localhost again are very
appreciated.

Thanks
Jens

First step would be to start MySQL without any user authentication -
see http://dev.mysql.com/doc/refman/5.5/...rmissions.html

Then you should be able to get in and correct the tables.

Why didn't "root@%" work? It works on my computer when I access the
server from the same computer the server is running on.

Reply With Quote
Reply




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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.