Ask a Question related to Coldfusion Database Access, Design and Development.
-
Lingodude #1
CFMX to MySQL 4.1 connection
:confused;
Has anyone an idea on why CF administrator would fail when attemping to
connect to a new Data Source?
CFMX and MySQL installed on the same test machine.
CFMX templates running fine, connecting to other datasources like MS Access
and Oracle.
Brand new install of MySQL from the MySQL Site. The CFMX Admin gives me
--------------------------------------------------------------------------------
---------------------------------
Connection verification failed for data source: MySQL
[]java.sql.SQLException: Communication failure during handshake. Is there a
server running on 'myIPnumber:portnumber(3306)'?
The root cause was that: java.sql.SQLException: Communication failure during
handshake. Is there a server running on MyIP:3306?
--------------------------------------------------------------------------------
---------------------------------
Tried the Macromedia tech note
[url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19170[/url]
but this made no difference in the error message.
I've ensured that the MySQL server is up and running on the port 3306, and use
an IP instead of localhost.
I can open the DB from a command line and show the current db's; create users;
change permissions; etc.
A quick check in the Windows Services dialog shows MySQL up and running as a
service (I'm on win 2000)
But I can not get past the error shown above.
Any ideas? I'll try anything at this point. (Normally its quite simple to
connect to DB's from within CFMX Admin)
thanks in advance for any reply post,
Lingodude 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 with CFMX
i'm using CFMX , mysql 5.0 , mysql-connector-java-3.1.13 how do i set the connection... 1) do i need to add the driver into the ODBC ? 2)... -
CFMX 7.0.1 COnnection to SQL 2000
I am running MSDE and CFMX DE on my W2K laptop. I cannot connect to MSDE so I am reluctant to upgrade our production server to CFMX unless I can... -
CFMX + mySQL
Hello there, I have just installed CFMX 7 developer edition + mySQL 4.1.12a on my local winXP pro machine. I also downloaded the JDBC for mySQL.... -
CFMX and MySQL Datasource Connection Error
Summary: Unable to create datasource for MySQL database successfully. I have followed the steps for... -
Lingodude #2
Re: CFMX to MySQL 4.1 connection
Tried Tech Note:
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?
---------------------------
* Have placed
"C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.1.10-bin.jar," in the
Class path after coping the jar file to the lib directory.
* Restarted the CFMX server after these changes.
Not sure what to do next.
Have installed latest Driver from MySQL and used Macromedia Tech notes to
update the Admin fields.
Can any one point me in the right direction ??
Lingodude Guest
-
feiloiram #3
Re: CFMX to MySQL 4.1 connection
Hi Lingdude,
did you eventually find the answer.
I can't get my CF7.0 connected to MySQL5.0 although I get another
error-message.
If you found the answer to your question than please post it here!
Mario
feiloiram Guest
-
mxstu #4
Re: CFMX to MySQL 4.1 connection
Originally posted by: feiloiram
I can't get my CF7.0 connected to MySQL5.0 although I get another
error-message.
If you found the answer to your question than please post it here!
Mario
Mario,
Glad to see you solved your mySQL5.0 problem on your other thread.
I was also receiving the "Unable to instantiate logger class" error but
solved the problem by using a different version of the mySql jar. I used
mysql-connector-java-3.0.17-ga-bin.jar .... instead of ...
mysql-connector-java-3.1.10-bin.jar
mxstu Guest
-
esch #5
Re: CFMX to MySQL 4.1 connection
[BUMP]
Having issues with newer MySQL jdbc's. Anyone come up with a solution for the Logger Class?
Unable to instantiate logger class 'com.mysql.jdbc.log.Log4JLogger'
esch Guest
-
-
esch #7
Re: CFMX to MySQL 4.1 connection
Driver: 3.1.10-bin
I believe all of the 3.1 drivers have this issue. I therefore swiched up to
the 3.2.0-alpha driver. It is currently in development and haven't had any
issues. Believe I will wait for ga version of 3.2 before production move.
esch Guest
-
mxstu #8
Re: CFMX to MySQL 4.1 connection
Well, it's a bit older, but I used mysql-connector-java-3.0.17-ga-bin.jar with no problems.
mxstu Guest
-
J-Quest #9
Re: CFMX to MySQL 4.1 connection
Thanks for this thread! I had just upgraded to mysql 4.1 and hit a wall with CF
MX not connecting. I was trying to use the mysql-connector-java-3.1.10-bin.jar
with the same issues above. The older mysql-connector-java-3.0.17-ga-bin.jar
ended up working (Thankfully! I have a project due in 2 weeks ;) )
Cheers!
J-Quest Guest
-
Evil-Devil82 #10
Re: CFMX to MySQL 4.1 connection
Due to the UTF-8 issues, i also had some problems with it and solved via adding
useUnicode=true&characterEncoding=UTF8
to the connection string. Hope that helps some ppl.
Benny
Evil-Devil82 Guest
-
mxstu #11
Re: CFMX to MySQL 4.1 connection
Originally posted by: esch
Driver: 3.1.10-bin
I believe all of the 3.1 drivers have this issue. I therefore swiched up to
the 3.2.0-alpha driver. It is currently in development and haven't had any
issues. Believe I will wait for ga version of 3.2 before production move.
esch,
Just an update. I was able to use mySQL 4.1 |
mysql-connector-java-3.1.7-bin.jar | MX7 and it seems to work fine so far.
mxstu Guest
-
drmaves #12
Re: CFMX to MySQL 4.1 connection
Where did you find mysql-connector-java-3.1.7-bin.jar? I can only find 3.1.10 on the mysql.com site.
3.1.10 doesn't seem to work with CFMX7.
drmaves Guest
-
mxstu #13
Re: CFMX to MySQL 4.1 connection
Just look through the ftp directory of one of the mirror sites. They have most
versions. For example:
[url]ftp://ftp.orst.edu/pub/mysql/Downloads/Connector-J/[/url]
[url]ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/Connector-J/[/url]
mxstu Guest
-
smika #14
Re: CFMX to MySQL 4.1 connection
Dont know why, but this works. Set your root users password to NONE and then connect through CF admin using root and empty pass.
smika Guest
-
smika #15
Re: CFMX to MySQL 4.1 connection
Dont know why, but this works. Set your root users password to NONE and then connect through CF admin using root and empty pass.
smika Guest



Reply With Quote

