deploying java website,
I am using windows 7 to develop my java website, I can properly connect to MySQL for localhost but it fails to connect to MySQL on the deployment server.
I am using MySQL connect j 8 for windows and i add it into the deployment assemblies,
it fails at this line
DriverManager.registerDriv
er(new com.mysql.jdbc.Driver());
below is the detailed information of my server
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:ce
ntos:7"
HOME_URL="
https://www.centos.org/"
BUG_REPORT_URL="
https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="C
entOS-7"
CENTOS_MANTISBT_PROJECT_VE
RSION="7"
REDHAT_SUPPORT_PRODUCT="ce
ntos"
REDHAT_SUPPORT_PRODUCT_VER
SION="7"
Static hostname: server.dat-ran.com
Icon name: computer-vm
Chassis: vm
Machine ID: 69b8add88df5f04c3166358606
bd052f
Boot ID: b345d09e0ba94e9897a81b1ad5
651fe2
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1062.18.1.el7.x86_6
4
Architecture: x86-64
What