IDEA连mysql报错和连上后不显示表
IDEA连mysql报错:
Connection to [email protected] [2] failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
解决:
在数据库后面加上?serverTimezone=UTC
连上数据库后没有显示表
解决:
点击数据库设置
点击schemas,勾选上要使用的数据库,即带有(Current schema)