Unable to connect to MySQL in app from Servlet
I cannot connect to the DB created by MySQL in app from the Servlet.
The following is a partial excerpt of the error display in the log stream.
This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.
The following is a partial excerpt of the error display in the MySQL process.log.
2022-07-25T00: 54: 37.811653Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog = 0
Until last year, I was able to connect without any problems, but when I ran it last week, I couldn't connect and asked a question.
By the way, when I used Tomcat and MySQL of Xampp created locally, I was able to connect.
Finally, the development environment is as follows.
After creating a resource from Web Apps, turn on MySQL in app and create a DB from MySQL.
・ Windows 10
・ Eclipse Version: 2022
* The version when you could connect last year is Version: 2020
· Azure Toolkit for Eclipse
・ Java11
* Java 8 was used last year
・ Connector / J 8.0