我明明有study这个数据库,为什么提示无法创建PoolableConnectionFactory(未知数据库“study”)?请各位大佬帮帮忙。
在database url后面加上?serverTimezone=UTC,就成功了,其中UTC是统一标准世界时间。
连接名不是数据库名称,你需要创建一个叫study的数据库
这样它就报另一个错了:Cannot create PoolableConnectionFactory (The server time zone value '?��???????' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support.)