View previous topic :: View next topic
Author
Message
sroberts82 Joined: 07 Oct 2007 Posts: 2
Posted: Mon Oct 15, 2007 10:06 pm Post subject: Database Privelages
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
Back to top
lostboy Joined: 02 May 2004 Posts: 6033 Location: toronto, canada
Posted: Tue Oct 16, 2007 3:24 am Post subject:
Did you try just regranting the privileges to the ip that you want?
Back to top
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 You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum