Completely unfamiliar with java/tomcat/mysql. So apologies... Setting up a third part application
Windows environment Tomcat is on the local machine and running. mysql is on the local machine and running. java is on the local machine and running.
This is the config.properties file
############################## database config begin ##############################
db.driverClassName=com.mysql.jdbc.Driver
db.url=jdbc:mysql://127.0.0.1:3306/hanshow_shopweb_v17n?
autoReconnect=true&useUnicode=true&characterEncoding=UTF-
8&zeroDateTimeBehavior=convertToNull&connectTimeout=30000
&socketTimeout=180000&allowMultiQueries=true&useSSL=false&useCompression=true
db.username=hanshow
db.password=9rztak
db.maxActive=20
db.maxIdle=20
db.maxWait=60000
db.defaultAutoCommit=true
I am getting an error with trying to connect to mysql. Think it must be something simple I am not sure what to do next.
In the tomcat logs I see
[ERROR] [Druid-ConnectionPool-Create-710941460] create connection error, url: jdbc:mysql://127.0.0.1:3306/hanshow_shopweb_v17n?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&connectTimeout=30000&socketTimeout=180000&allowMultiQueries=true&useSSL=false&useCompression=true, errorCode 0, state 08001
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Any direction appreciated.