Ask a Question related to Coldfusion Database Access, Design and Development.
-
Michael London #1
mySQL Drivers and Cold Fusion 6.1
Hello all,
I have scoured the forums for some answers to the following problem:
We are trying to install the latest mySQL drivers into Windows Based
Cold Fusion 6.1. We have followed the instructions Macromedia provided
on their site.
- Placed the [mysql-connector-java-3.1.10-bin.jar] file into the
CFusion\wwwroot\web-inf\lib directory.
- Added the full path to the JAR file in the JAVA/JVM Section of CF
Administrator:
[C:\CFusionMX\wwwroot\WEB-INF\mysql-connector-java-3.1.10-bin.jar]
- Restarted the services
- setup the JDBC URL to:
[jdbc:mysql://remoteHostAddress:3306/dbaseName]
- Set the Driver class to:
[com.mysql.jdbc.Driver]
- Added the appropriate Username and Password
After all this, I am getting a timeout error:
[java.sql.SQLException: coldfusion.sql.DatabaseConnectionException:
Timed out trying to establish connection. The root cause was that:
java.sql.SQLException: coldfusion.sql.DatabaseConnectionException: Timed
out trying to establish connection]
I have seen this error reported in threads dealing with Cold Fusion 7.0
and MySQL.
Does anyone have any thoughts on this?
Thanks in advance for any help you can provide.
Mike
Michael London Guest
-
Migrating from Cold fusion 5 to Cold fusion 7
Hi, I am facing problem while migrating from CF 5 to CF 7. Please let me know is there any tool is available to Migrate from CF5 to CF 7. -
Cold fusion
Hi I am new to the cold fusion and would like to know where can I write the cold fusion code. For example We can write ASP code in the notepad... -
How to connect to MySql from Cold Fusion
If I install Mysql either from their web site or by using WAMP. How do I connect to a MySQL database from the Cold Fusion Administrator? I am... -
Cold Fusion / MySQL development setup NIGHTMARE!
Please, somebody, anybody.. I have tried many possible combinations of MySQL Server and the J connector. Nothing works. I have two DSN that I've... -
Cold Fusion - why?
Thanks to everyone for the help with .asp vs c/s speed. If I may... What does Cold Fusion have (if anything) over .asp? -
Mountain Lover #2
Re: mySQL Drivers and Cold Fusion 6.1
The best 3.1.x driver I've gotten to work with CFMX 6.1 is 3.1.7. 3.1.10
works great with CFMX7. That said, 3.0.x is supposed to work too and
would probably be better for using in CFMX6.1
HTH
--
Tim Carley
[url]www.recfusion.com[/url]
[email]info@NOSPAMINGrecfusion.com[/email]
Mountain Lover Guest
-
Michael London #3
Re: mySQL Drivers and Cold Fusion 6.1
FOLLOWUP:
Turns out there is something uniquely wrong with the settings on this
particular server. I setup the driver on another server and there were
no issues (other than having to set the characterEncoding and useUnicode
switches).
Michael London wrote:> Hello all,
>
> I have scoured the forums for some answers to the following problem:
>
> We are trying to install the latest mySQL drivers into Windows Based
> Cold Fusion 6.1. We have followed the instructions Macromedia provided
> on their site.
>
> - Placed the [mysql-connector-java-3.1.10-bin.jar] file into the
> CFusion\wwwroot\web-inf\lib directory.
>
> - Added the full path to the JAR file in the JAVA/JVM Section of CF
> Administrator:
> [C:\CFusionMX\wwwroot\WEB-INF\mysql-connector-java-3.1.10-bin.jar]
>
> - Restarted the services
>
> - setup the JDBC URL to:
> [jdbc:mysql://remoteHostAddress:3306/dbaseName]
>
> - Set the Driver class to:
> [com.mysql.jdbc.Driver]
>
> - Added the appropriate Username and Password
>
> After all this, I am getting a timeout error:
> [java.sql.SQLException: coldfusion.sql.DatabaseConnectionException:
> Timed out trying to establish connection. The root cause was that:
> java.sql.SQLException: coldfusion.sql.DatabaseConnectionException: Timed
> out trying to establish connection]
>
> I have seen this error reported in threads dealing with Cold Fusion 7.0
> and MySQL.
>
> Does anyone have any thoughts on this?
>
> Thanks in advance for any help you can provide.
>
> MikeMichael London Guest



Reply With Quote

