Ask a Question related to Coldfusion Server Administration, Design and Development.
-
abhishek77 #1
Coldfusion Administration:Adding Data Sources Error
* Connection verification failed for data source: online_store
[]java.sql.SQLException: Communication failure during handshake. Is there a
server running on localhost:3306?
The root cause was that: java.sql.SQLException: Communication failure during
handshake. Is there a server running on localhost:3306?
Thats the message I get when I try to add a mysql database using the
coldfusion admin page. I never get this error when I add an access database.
Where could I be going wrong?
Could anyone help or suggest something?
abhishek77 Guest
-
Coldfusion administration access
Hello, i need help please. I instaled Coldfusion developer on my laptop. All worked fine, but when i am offline i can?t get access to the... -
Coldfusion 6.1 - Administration doesn't load
We are running a Coldfusion 6.1 server on Windows 2003 Standard running IIS6 (upgraded from Windows 2000 Standard running IIS5). The CFusionMX files... -
Data Sources in CF admin error
Hi, I am getting an error when trying to access the datasources in CF admin. This is the error: The system has attempted to use an undefined... -
Adding data to a Grid error
I am really stuck on this little doozy!!! I have 2 grids, one is used to select data from and the other one is to insert the selected data into.... -
Error Adding Data Source
Hey i am having lots of trouble adding a datasource i made on My SQL version 4.1, i get this error when i submit it: Connection verification... -
Jochem van Dieten **AdobeCommunityExpert** #2
Re: Coldfusion Administration:Adding Data Sources Error
abhishek77 wrote:
[url]http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=Communication+failure+dur ing+handshake[/url]> * Connection verification failed for data source: online_store
> []java.sql.SQLException: Communication failure during handshake. Is there a
> server running on localhost:3306?
> The root cause was that: java.sql.SQLException: Communication failure during
> handshake. Is there a server running on localhost:3306?
>
> Thats the message I get when I try to add a mysql database using the
> coldfusion admin page. I never get this error when I add an access database.
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
Jochem van Dieten **AdobeCommunityExpert** Guest
-
abhishek77 #3
Re: Coldfusion Administration:Adding Data Sources Error
I followed the instructions from that link but i am still facing some problems.
[url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]
Regd the drivers and connectors, I had downloaded MySQL Connector/J 5.0
where it states to enter jdbc url, i entered in the following:
jdbc:mysql://[localhost]:[3306]/[online_store]
for driver class: com.mysql.jdbc.5.0.4
I am confused with steps 2 and 3.
2. Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
archive file.
3. Save the mysql-connector-java-3.{n}-bin.jar file in thecf_root/WEB-INF/lib
directory.
What i am confused about is do we extract the main zip file to a folder of
same name and copy and paste the jar file to destination folder or do we
extract the jar file itself which opens up 3 folders and paste to destination
folder?
below is the error i get.
Connection verification failed for data source: online_store
[]java.sql.SQLException: No suitable driver available for online_store, please
check the driver setting in resources file, error: com.mysql.jdbc.5.0.4
The root cause was that: java.sql.SQLException: No suitable driver available
for online_store, please check the driver setting in resources file, error:
com.mysql.jdbc.5.0.4
also would you know how to add a .sql file as a datasource to coldfusion
administration?
abhishek77 Guest
-
Ken Ford - *ACE* #4
Re: Coldfusion Administration:Adding Data Sources Error
Extract the mysql-connector-java-5.0.4-bin.jar file only.
Place it in the WEB-INF/lib folder.
Restart ColdFusion services
Don't use the brackets, do it like this:
jdbc:mysql://localhost:3306/online_store
And the Driver class should be exactly like this:
com.mysql.jdbc.Driver
--
Ken Ford
Adobe Community Expert
Fordwebs, LLC
[url]http://www.fordwebs.com[/url]
"abhishek77" <webforumsuser@macromedia.com> wrote in message
news:en5ij8$7bm$1@forums.macromedia.com...>I followed the instructions from that link but i am still facing some
>problems.
> [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]
>
> Regd the drivers and connectors, I had downloaded MySQL Connector/J 5.0
>
> where it states to enter jdbc url, i entered in the following:
> jdbc:mysql://[localhost]:[3306]/[online_store]
>
> for driver class: com.mysql.jdbc.5.0.4
>
> I am confused with steps 2 and 3.
>
> 2. Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
> archive file.
> 3. Save the mysql-connector-java-3.{n}-bin.jar file in
> thecf_root/WEB-INF/lib
> directory.
>
> What i am confused about is do we extract the main zip file to a folder of
> same name and copy and paste the jar file to destination folder or do we
> extract the jar file itself which opens up 3 folders and paste to
> destination
> folder?
>
> below is the error i get.
>
> Connection verification failed for data source: online_store
> []java.sql.SQLException: No suitable driver available for online_store,
> please
> check the driver setting in resources file, error: com.mysql.jdbc.5.0.4
> The root cause was that: java.sql.SQLException: No suitable driver
> available
> for online_store, please check the driver setting in resources file,
> error:
> com.mysql.jdbc.5.0.4
>
> also would you know how to add a .sql file as a datasource to coldfusion
> administration?
>
Ken Ford - *ACE* Guest
-
Ventice Tech #5
Re: Coldfusion Administration:Adding Data Sources Error
I did it and it worked like a charm.
One thing to note, the WEB-INF/lib folder is under your cold fusion mx install
directory for those who may not have known (e.g.
C:\CFusionMX7\wwwroot\WEB-INF\lib)
[q]Originally posted by: Newsgroup User
Extract the mysql-connector-java-5.0.4-bin.jar file only.
Place it in the WEB-INF/lib folder.
Restart ColdFusion services
Don't use the brackets, do it like this:
jdbc:mysql://localhost:3306/online_store
And the Driver class should be exactly like this:
com.mysql.jdbc.Driver
--
Ken Ford
Adobe Community Expert
Fordwebs, LLC
[url]http://www.fordwebs.com[/url]
"abhishek77" <webforumsuser@macromedia.com> wrote in message
news:en5ij8$7bm$1@forums.macromedia.com...>I followed the instructions from that link but i am still facing some
>problems.
> [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]
>
> Regd the drivers and connectors, I had downloaded MySQL Connector/J 5.0
>
> where it states to enter jdbc url, i entered in the following:
> jdbc:mysql://[localhost]:[3306]/[online_store]
>
> for driver class: com.mysql.jdbc.5.0.4
>
> I am confused with steps 2 and 3.
>
> 2. Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
> archive file.
> 3. Save the mysql-connector-java-3.{n}-bin.jar file in
> thecf_root/WEB-INF/lib
> directory.
>
> What i am confused about is do we extract the main zip file to a folder of
> same name and copy and paste the jar file to destination folder or do we
> extract the jar file itself which opens up 3 folders and paste to
> destination
> folder?
>
> below is the error i get.
>
> Connection verification failed for data source: online_store
> []java.sql.SQLException: No suitable driver available for online_store,
> please
> check the driver setting in resources file, error: com.mysql.jdbc.5.0.4
> The root cause was that: java.sql.SQLException: No suitable driver
> available
> for online_store, please check the driver setting in resources file,
> error:
> com.mysql.jdbc.5.0.4
>
> also would you know how to add a .sql file as a datasource to coldfusion
> administration?
>
[/q]
Ventice Tech Guest



Reply With Quote

