mysql 中表和数据库名称不要使用 '-' 命名 若使用这个符号,比如 my-name 做为数据库表名称 那么在 sql 中必须如下: select * from `my-name` 转载于:https://www.cnblogs.com/ndos/p/9712422.html