go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  MySQL client
 
Subject: MySQL client
Author: Linux
In response to: Grant and revoke remote root access to MySQL
Posted on: 10/26/2011 02:16:27 AM

The testing client is Heidi SQL, which is working.
 

> On 10/26/2011 02:11:30 AM Linux wrote:


To grant root access from all hosts (except for localhost):
mysql> GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY 'secret';


To revoke root access from all hosts (except for localhost):
mysql> DELETE FROM mysql.user WHERE User = 'root' AND Host = '%';
mysql> FLUSH PRIVILEGES;




References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.