Grant problem in mySQL for root user
Hi
I just installed Apache2 and MySQL 8.031 on fresh installed Mate 22.04.1. I used mysql_secure_installation for root. So I logged in to MySQL with mysql -u root -p I created a database called 'konsum' and a user called 'db_user'. I wanted to give the db_user full privileges to the db konsum, but mysql tells me, that I am not allowed to use GRANT. Can anyone please tell me what I missed? I am thankful for any help, best regards, Dag JNJ |
Please provide the verbatim command that you attempted to use, and the exact text of the message that you received in response. "The devil is in the details."
|
mysql> GRANT ALL PRIVILEGES ON konsum.* TO db_user@localhost;
ERROR 1410 (42000): You are not allowed to create a user with GRANT |
It worked as I did it this way:
Quote:
|
All times are GMT -5. The time now is 05:21 PM. |