MySQL Forums
Forum List  »  MySQL Workbench

MySQL database naming conventions
Posted by: partho das
Date: June 27, 2011 05:09AM

I am using MySQL command prompt & I try to create a database called only "65" with the create database command,but it is giving the following error-
"ERROR 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 '65'at line 1; "
I am using Apache server (XAMPP) and using shell of XAMPP.
Then I also tried creating database with the name '0605' but same error as above is what i am getting.
Last when I tried 06_05 as the database name it worked .
Now my question is why was i getting the error while creating the database with pure Numerals as name?
what is the naming conventions? Can only numbers be not used to create a database?

Options: ReplyQuote

Written By
MySQL database naming conventions
June 27, 2011 05:09AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.