Skip to content
Advertisement

ERROR 1064 (42000): You have an error in your SQL syntax; Trying to GRANT INSERT privilege in mariadb

I am in a mysql terminal and I created a user.

I tried to grant the user privileges with

And got the error:

So I tried

And got

So I am trying to grant privileges to a user but I am stuck.

Advertisement

Answer

Try this:

Make sure the password used for the user complies with the password policy

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement