LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Can't grant in MySQL

[ILUG] Can't grant in MySQL

Niall O Broin niall at makalumedia.com
Thu Jun 16 16:31:43 IST 2005


I have a user in mysql connection to a remote host, which has all 
rights including grant. However, that user can't give rights to another 
user. Everything appears to be in order, as shown below:

mysql> show grants for boss at some.mysql.server \G
*************************** 1. row ***************************
Grants for boss at some.mysql.server: GRANT SELECT, INSERT, UPDATE, 
DELETE, CREATE, DROP, RELOAD, SHUTDOWN, PROCESS, FILE, REFERENCES, 
INDEX, ALTER ON *.* TO 'boss'@'some.mysql.server' IDENTIFIED BY 
PASSWORD '1a2154e5660c6374' WITH GRANT OPTION
1 row in set (0.00 sec)

but yet I can't grant access to a database:

mysql> create database sample;
Query OK, 1 row affected (0.00 sec)

mysql> grant all on sample.* to someuser at some.mysql.server IDENTIFIED 
BY "somePass";
ERROR 1044: Access denied for user: 'boss at some.mysql.server' to 
database 'sample'


Note that I can grant all privileges to someuser if I name them - it's 
the "all" shorthand which doesn't work.


Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell