MySQL Forums
Forum List  »  German

Grant-Problem
Posted by: Thomas Blum
Date: March 12, 2010 12:28AM

Hallo,
ich habe folgendes Problem: ich möchte meinem mysql-user apache Zugriff auf die Datenbank www gestatten. Als root gebe ich ein "GRANT SELECT,INSERT,UPDATE,DELETE ON www.* TO apache;". Der user apache existiert in mysql.user. Nach Eingabe des GRANT-Befehls kommt "OK, 0 rows affected" und in mysql.user steht beim user apache immer noch jeweils ein "N" bei select_priv, insert_priv, update_priv, delete_priv.
Folglich kann ich als user apache nichts machen, "mysql -uapache -Dwww --execute="SELECT name FROM irgendwas" " auf der shell ergibt "ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'www'".
Gibt's da eine Idee, woran das liegen könnte?
Gruß
Thomas

Options: ReplyQuote


Subject
Views
Written By
Posted
Grant-Problem
4298
March 12, 2010 12:28AM
1561
March 12, 2010 11:11AM
1359
March 15, 2010 03:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.