Skip to content
Advertisement

Tag: sql-grant

Granting privileges to a user named “Grant”?

How do I grant permissions to a user who is named “Grant”? It throws an error. Error: ‘Grant’ is not valid at this position. Expecting an identifier. Answer You have to use backticks when using reserved keywords or identifiers with otherwise illegal characters as identifiers Apostrophes or double quotes are fine, too as per the documentation: Quote user names and

Advertisement