java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax;check the manual that corresponds to your MySQL server version for the right syntax touse near '-we
1.概述写了一个操作MYSQL的类,结果连接的MySQL库信息带有中划线。报错如下java.sql.SQLSyntaxErrorException: 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 '-web' at line 1 at com.mysql.cj.jdbc.exce.