0

For example, when I go to the mysql command line and do:

mysql> create database `#mysql#testdb`;

and try:

mysql> show databases;

I only get a db named "testdb" and NOT "#mysql#testdb".

Any idea what's wrong here?

2 Answers 2

3

You use special characters like # (sql comments). If you can avoid it, use the underscore '_' instead of #. Otherwise, look at this page, it should help you to use the special characters.

Sign up to request clarification or add additional context in comments.

Comments

2

# is a mysql comment notation. you're commenting out the mysql, basically.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.