Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Unable to create mysql datasource from CFadmin

Posted on 2011-03-10
6
Medium Priority
?
1,344 Views
Last Modified: 2012-08-13
Hi,
I keep getting the following error when creating a new datasource for mysql 5 in cfadmin.
I have about 15 already working, my database is running fine and what even more confusion is that if I edit an existing datasource to point at my new database it works first time.

Has anyone come across this as I am running out of old datasources to rename and edit.

Connection verification failed for data source: myDataSource
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
The root cause was that: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
0
Comment
Question by:Lmillard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 1

Accepted Solution

by:
witsCOMPUTING earned 2000 total points
ID: 35096029
I think you have limit of connection on your MySQL.

Try executing following query:

set global max_connections = 2000;

0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 35096436
Just Start your mysql server that is why it is showing an Error

Could not create connection to database server. Attempted reconnect 3 times. Giving up.

the above line states that it is looking if the mysql server is started or not, it tries for three times and then it gives up!

Just make sure your mysql server is started and working

have to installed wamp or xamp server, if any one, just click on wamp and start its services, it will work then

Cheers
0
 

Author Comment

by:Lmillard
ID: 35098165
This is a development server running on my windows laptop, there were only about 5 connections runing at the time and the server was up and running for everything else other than the CF admin datasource connection.
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 1

Expert Comment

by:witsCOMPUTING
ID: 35098182
@Lmillard: Did you tried increasing connection limit?
0
 

Author Closing Comment

by:Lmillard
ID: 35098232
Just tried and worked perfectly thanks,
0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 35098268
Great catch Thanks for the Info @wits
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question