Koozali.org: home of the SME Server

MySQL and root user privileges

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: MySQL and root user privileges
« Reply #15 on: July 29, 2010, 03:01:41 PM »
I followed these instructions step by step, twice.
As might delete the root user of MySQL?, In order to recreate it.
How might to assign all privileges to root user?
As could create another user with sufficient privileges to give privileges to root user?
They should work. Do you receive any error messages or pointers when trying the instructions?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline d_loayza

  • **
  • 37
  • +0/-0
Re: MySQL and root user privileges
« Reply #16 on: July 29, 2010, 03:31:01 PM »
cactus wrote:
Quote
They should work. Do you receive any error messages or pointers when trying the instructions?

No error, all instructions are executed cleanly.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: MySQL and root user privileges
« Reply #17 on: July 29, 2010, 03:36:59 PM »
I followed these instructions step by step, twice.

Please open a bug report, showing exactly what commands you are running and what the result is.

Offline d_loayza

  • **
  • 37
  • +0/-0
Re: MySQL and root user privileges
« Reply #18 on: August 03, 2010, 02:28:28 AM »
Talking to my associate, I remembered that long ago had created a user named "webmaster" with privileges on all databases.

I ejecute  the following commands to restore the situation:

a) mysql --user=webmaster --password=xxxxxxxxx
b) grant all privileges on *.* to 'root'@'localhost' with grant option;
c) use mysql;
d) grant all privileges on mysql to 'root'@'localhost' with grant option;

I will open a detailed report to explain what happened to me, it seems the scripts to restore the root user  does not work correctly.

Sincerely grateful for taking the time to solve my problem.