It is currently Wed Feb 08, 2012 5:32 pm

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Database Privelages
PostPosted: Mon Oct 15, 2007 11:06 pm 
Offline

Joined: Sun Oct 07, 2007 8:37 pm
Posts: 2
Hi,
I wanted to make my MySQL server accessable remotely. At first I just wanted to get it working so I granted everything to every IP using:

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'the_pw' WITH GRANT OPTION

Now I want to revoke first to get me back to where I don't allow remote connections at all and then just do the same thing as

GRANT ALL PRIVILEGES ON *.* TO 'root'@'the.ip.i.want' IDENTIFIED BY 'the_pw' WITH GRANT OPTION

I was playing around with REVOKE but couldn't get it to work.
Thanks in advance
Ste


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 16, 2007 4:24 am 
Offline

Joined: Sun May 02, 2004 11:34 pm
Posts: 6500
Location: toronto, canada
Did you try just regranting the privileges to the ip that you want?

_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: