Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Cannot establish db connection: "Connection refused"

Hello,
I'm trying to establish a connection to a mysql5 database (Metadata, right click on a db), but i always get a 
"The driver has not received any packets from the server." ... "Connection refused".
My connection string is the following: jdbc:mysql://localhost:3306/mydb?noDatetimeStringSync=true (I'm using localhost as the server on my local machine, looks like it's not going to work..).
Do you have any suggestion ..? Thanks 0683p000009MACn.png
Labels (3)
10 Replies
Anonymous
Not applicable

Hi All,
Can any1 solve my query.
i want to read 80 million record from mysql and write into mysql.
But after 20 million reads it gave me could not create connection error.
.
.
2016-06-10 03:07:25;aAtDjY;kC202j;kC202j;BIOWISE_ETL_JOB;BW_Dbnsfp_SNP_Job_0;Default;6;Java Exception;tMysqlInput_1;com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:Could not create connection to database server. Attempted reconnect 3 times. Giving up.;1
can any1 ll provide solution for this?
Regards,
Anand Yadav