I have seen in the answer supplied in the question: How do I open up my MySQL on my Raspberry Pi for Outside / Remote Connections?
And on other sites that the apostrophes ( ' ) in the create user syntax are required.
CREATE USER 'jeffrey'@'localhost' IDENTIFIED BY 'password';
But i have found that when the apostrophes are omitted around the username and host name it still works.
for example:
CREATE USER jeffrey@localhost IDENTIFIED BY 'password';
or even
CREATE USER jeffrey@127.0.0.1 IDENTIFIED BY 'password';
will generate a user without problems as far as i can tell.
Is this behavior intended or is it bad to do it this way (omitting apostrophes)?
Regards