Re: Need solution for MySQL Not connected problem
Posted by: Nataraja mani
Date: January 09, 2019 10:45PM

Hi Filipe Silva,

the main Exception is : com.mysql.jdbc.CommunicationsException.

From code , I have connected MySQL Successfully , there is no Exception.

but From War , I cannot Mysql . the above Exception is raised ?

In Windows OS , that problem is not arised .

that issue is raised only in CentOS (Linux).

May I change any options of configuration file in tomcat and Mysql Server for

CentOS ?

I have installed Mysql and tomcat in same Machine.

MySQL connection credentials
=============================
username : root
host:localhost
password:*******

Please Kindly Provide the solution as soon as possible.

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.