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?
您使用特殊字符,如#(sql 注释)。如果可以避免,请使用下划线“_”而不是 #。否则,请查看此页面,它应该可以帮助您使用特殊字符。
#
是一个 mysql 注释符号。基本上,您正在注释掉mysql。