database - MySQL version 5.6.23 not allowing me to create a new user/grant privileges -


it looks reason i'm having issue because playing drop function , ran drop database mysql , test... think need reset mysql default. what's best way that? instructions here didn't work me.

----my original question---

i'm trying create new user , grant them access in database keep getting syntax error. can't see syntax issues entering. i'm using mysql version 5.6.23.

here screenshot of issue: enter image description here

here command entered mysql:

grant privileges on simple_cms_development.* ‘simple_cms’@’localhost’ identified ‘mypassword12345’; 

error 1064 (42000): have error in sql syntax; check manual corresponds mysql server version right syntax use near '‘mypassword12345’' @ line 1

any advice?

you using wrong type of quote character, these accented quotes found in word documents. copy , pasted website or similar.

i suggest re-typing querying using quote(') key on keyboard.

the type of quote want single , down line, rather bending towards quote on both ends. same kind see enclosing password in error message.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -