Exchangis icon indicating copy to clipboard operation
Exchangis copied to clipboard

Unable to find instance for EXCHANGIS-SERVICE

Open galesun opened this issue 5 years ago • 4 comments

Unable to find instance for Exchangis-Service after opening the WEB interface

galesun avatar Jun 03 '20 06:06 galesun

The reason may be that my environment is using mysql-8.0+ and I cannot connect to the database

galesun avatar Jun 03 '20 07:06 galesun

You can check if you have installed mysql command on your server.If not, try to init database manually according to the installation document.

Davidhua1996 avatar Jun 03 '20 07:06 Davidhua1996

The reason may be that my environment is using mysql-8.0+ and I cannot connect to the database

have same error, how to connect mysql 8.0+

cuikai2015 avatar Jun 05 '20 02:06 cuikai2015

Recompile and run with the MySQL8 driver to see the information below the error log prompt for the service "Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'EDT' 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." My solution: 1.In..This problem is resolved by finding the location of the application.yml configuration and adding serverTimezone=UTC, as follows Url: JDBC: mysql: / / ${DB_HOST: 127.0.0.1} : ${3306} DB_PORT: / ${DB_DATABASE: exchangis}?UseUnicode = true&characterEncoding = utf-8 & serverTimezone = UTC 2.Install the MySQL5 database

galesun avatar Jun 10 '20 11:06 galesun

Please check whether there is a problem with the startup procedure. The latest version is exchangis1.1.1. You can pay attention to it.

jefftlin avatar Sep 29 '22 07:09 jefftlin