My Oracle Support Banner

GRANT ALL ON 'world'.* TO user@localhost Fails: "ERROR 1064 (42000): You have an error in your SQL syntax; ..." (Doc ID 2609647.1)

Last updated on NOVEMBER 11, 2019

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Symptoms

When trying to grant privileges to a user, it fails with a syntax error. For example:

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.