1.确认数据库版本为5.7或5.1 select version();
2.linux环境下:需要检查大小写不敏感配置开启;
show global variables like '%case%'; +------------------------+-------+ | Variable_name | Value | +------------------------+-------+ | lower_case_file_system | ON | | lower_case_table_names | 0 |
3.检查jdbc配置文件格式
4.检查通过客户端测试的连接配置和数据库访问状态
--------
Connections could not be acquired from the underlying database!
could not create connection to database server.