CREATE DATABASE 'hello' ;
19:40:38 CREATE DATABASE 'hello' Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''hello'' at line 1
I installed mysql with default settings and I don't know if it has anything to do with the settings.
Can someone tell me how to fix this error?
'hello'is a string literal. Identifiers are not quoted in SQL. Details are in the manual: dev.mysql.com/doc/refman/5.5/en/identifiers.htmlCREATE DATABASE hello;quotethe database name, then use back ticks `