Avatar of Anthony Matovu
Anthony Matovu
Flag for Uganda

asked on 

deploy java site on

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.registerDriver(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:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

   Static hostname: server.dat-ran.com
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 69b8add88df5f04c3166358606bd052f
           Boot ID: b345d09e0ba94e9897a81b1ad5651fe2
    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_64
      Architecture: x86-64

What
JavaWindows OSWindows 7

Avatar of undefined
Last Comment
CEHJ

8/22/2022 - Mon