Ask a Question related to Coldfusion Database Access, Design and Development.
-
helenmhudson #1
mySQL connection help
CFusion MX with MySQL 4.1
steps so far
1. downloaded mysql-connector-java-3.1.10.zip - no joy
2. now trying mysql-connector-java-3.0.17-ga.zip
error is
Connection verification failed for data source: test2
[]java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
The root cause was that: java.lang.ClassNotFoundException:
com.mysql.jdbc.Driver
my config is:
driver file (mysql-connector-java-3.0.17-ga-bin.jar) is in the
{CFROOT}\WEB-INF\lib folder
then...
DSN Driver Type=other
JDBC URL=jdbc:mysql://127.0.0.1:3306/talisman
Driver Class=com.mysql.jdbc.Driver
Driver Name=empty (is this correct or should this be the filename... neither
value changes the error, mind you!)
Any advice exstatically received!
Helen
helenmhudson Guest
-
#40207 [NEW]: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL ser
From: arif at peshawaronline dot com Operating system: PHP version: 4.4.4 PHP Bug Type: Compile Warning Bug description: ... -
mysql connection - pls help
im using www.dollarhost.com myphpadmin program to create tables in aurorabiomed_com_-_guestbook with tables guestbook and signup. i have the... -
MySQL Connection
Is it possible to create a mySQL database on my local computer and then upload it to my server, and if so what do I need to make sure to do in my... -
MySQL 4.1 connection
Using CFMX 7 on Win XP Home, and have installed latest version of MySQL 4.1.10 I can not seem to make a connection to my database (ows - used in... -
MySQL Connection with SSL or TLS
hello, anyone knows a methode, how I can get a secure Database-Connection from a Director Projektor to a MySQL-Database ? Ok, I can send the Data... -
sdupre #2
Re: mySQL connection help
The correct place is in the {cf_root}/runtime/servers/lib directory if you're using CF Standard edition.
The JRun internals will load either .jar or .zip.
Stephen Dupre
Macromedia QA
sdupre Guest
-
helenmhudson #3
Re: mySQL connection help
1. there is no lib folder under {cf_root}/runtime/servers
2. i added one and pasted the mysql-connector-java-3.0.17-ga-bin.jar into it,
but i still get the same error after restarting
3. if i play around and type in an incorrect database name, i get a different
error.... " ....please check your username, password, URL, and other
connectivity info."
Any other info I can try?
Helen
helenmhudson Guest
-
helenmhudson #4
Re: mySQL connection help
just downloaded the latest dev version mysql-connector-java-3.2.0-alpha-bin.jar
- popped it into C:\CFusionMX\wwwroot\WEB-INF\lib
and bob is your mother's brother!
- works both ways, specifying a data type of MySQL, or Other
Thanks for the help!
helenmhudson Guest



Reply With Quote

