Here's the payara log
I have the database created on a localhost with mysql workbench with user:root and port:3306, the password is correct i checked twice also when i type localhost in does not work
The error in the logs says:
"RAR8054: Exception while creating an unpooled [test] connection for pool [ jjakimovski ], Class name is wrong or classpath is not set for : jdbc:mysql://localhost:3306/?user=root]]"
The screenshot in "Payara Error" shows that Datasource Classname is set to a class but the server complains it's set to an URL. Can you check that your configuration is saved and that the URL isn't specified in a field for a class? Can you check if jdbc:mysql://localhost:3306/?user=root
is somewhere in the domain.xml because it shouldn't be anywhere.
You can check out this guide for Using MySQL with Payara Server
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.