Ask a Question related to Coldfusion Database Access, Design and Development.
-
crazypilot3 #1
Error Configuring MySQL
Basically I am making a website named: familycentral
I tried to make a data source connection with MySQL, and after reading the
forums I realized that I needed to download a *.jar file. I followed the
directions below exactly:
Download a current, stable version of the MySQL Connector J JDBC driver,
available at: [url]http://dev.mysql.com/doc/connector/j/en/index.html[/url]
Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
archive file.
Save the mysql-connector-java-3.{n}-bin.jar file in the cf_root/WEB-INF/lib
directory.
Restart the ColdFusion MX server.
Add a new data source to the ColdFusion MX Administrator, using the driver
option Other.
Enter the JDBC URL:
jdbc:mysql://[host]:[port]/[database]
Enter the Driver Class:
com.mysql.jdbc.Driver
Complete username/password, and adjust other data source settings, if needed.
Submit the data source for verification.
After I clicked submit, I get this error:
Connection verification failed for data source: familycentral
[]java.sql.SQLException: Unable to instantiate logger class
'com.mysql.jdbc.log.Log4JLogger', exception in constructor?
The root cause was that: java.sql.SQLException: Unable to instantiate logger
class 'com.mysql.jdbc.log.Log4JLogger', exception in constructor?
What does that mean? This website, server, and mysql is completely local, and
I am running XP pro SP1.
Your help is much appreciated!
Anthony
crazypilot3 Guest
-
#40498 [Opn->Fbk]: Error Configuring PHP with-imap
ID: 40498 Updated by: tony2001@php.net Reported By: tbujnowski at ticonnect dot com dot br -Status: Open... -
#39638 [NEW]: Configuring PHPIniDir causes error
From: huichunwuca at yahoo dot com Operating system: Windows XP Home Edition SP 2 PHP version: 5.2.0 PHP Bug Type: ... -
Configuring MySQL Server v5
Hi All, I have installed MySQL Server v5 on a WinXPpe box. IIS is installed and enabled. I next run the configuration program. It will not let... -
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
Configuring Jpgraph on Windows 2000+Apache+PHP+MySql server
Could someone walk me step by step on how to install and get JpGraph running on a Windows 2000+Apache+PHP+MySql server? -Thanks Jeff -
Mountain Lover #2
Re: Error Configuring MySQL
I fixed this same error by rolling back to
mysql-connector-java-3.1.7-bin.jar
HTH
--
Tim Carley
[url]www.recfusion.com[/url]
[email]info@NOSPAMINGrecfusion.com[/email]
Mountain Lover Guest
-
crazypilot3 #3
Re: Error Configuring MySQL
My solution was to return to the download site and get the previous stable version:
mysql-connector-java-3.0.16-ga-bin.jar
worked for me and I now have a verified connection to my MySQL 4.1 database
crazypilot3 Guest
-
rmorgan #4
Re: Error Configuring MySQL
To answer your question about Apache. Apache is a webserver. If you are just
doing development and for testing, you dont have to have it. However, if you
are writing an application for a production environment, the CF built in server
is not recommended. Apache in my opinion is one of your best options for a
webserver.
rmorgan Guest



Reply With Quote

