我再补充一下,首先要配置好外接数据库,然后再配置数据连接管理,最后才能添加数据。
另外两者配置时会有个报错信息内容大概是时区值问题(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.),可以直接在mysql修改该变量。
show variables like "%time_zone%"; # 该变量的值是system,意思是使用系统时间
set global time_zone='+8:00'; # 修改全局变量的值为北京时间,即我们所在的东8区
flush privileges; # 立即生效