Re: MySQL Privileges

2005-03-18 Thread Charles Curley
On Fri, Mar 18, 2005 at 10:02:25AM -0700, TJ Hunter wrote: > GRANT ALL PRIVILEGES ON `customers`.* TO 'ccurley'@'%' > > is not the same as > > GRANT ALL PRIVILEGES ON `customers`.* TO 'ccurley'@'localhost' > > if you want to allow access to users from localhost, you have to > specify that. Doin

Re: MySQL Privileges

2005-03-18 Thread Stephen Ward
> I'm having a problem with MySQL privileges. SeLinux is turned off, so > should not be an issue. Not sure if this is absolutely necessary in this case, but it never hurts to flush the privileges. mysql> flush privileges; Cheers, Stephen On Fri, 18 Mar 2005 09:54:43 -0700, Charles Curley <[EMA

Re: MySQL Privileges

2005-03-18 Thread Eric Jensen
Charles Curley wrote: I'm having a problem with MySQL privileges. SeLinux is turned off, so should not be an issue. As root, I can create a database, customers, and grant privileges on it to user ccurley. mysql> select * from db where Db='customers'; +--+---+-+-+

Re: MySQL Privileges

2005-03-18 Thread TJ Hunter
GRANT ALL PRIVILEGES ON `customers`.* TO 'ccurley'@'%' is not the same as GRANT ALL PRIVILEGES ON `customers`.* TO 'ccurley'@'localhost' if you want to allow access to users from localhost, you have to specify that. Doing '%' grant won't do it. As a side note, if the user will always only be c