Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
game_on #1
CFMX 7 cannot add MySQL datasource
Hi. I have installed CFMX 7 and its working amazing. I have a local MySQL
databse running on 127.0.0.1 port 3306. I am trying to add a datasource but
keep getting errors. CF Data Source Name: MyDataSourceName Database: TestDB
Server: 127.0.0.1 port 3306 Username: root Password: password This results in
the following error: Connection verification failed for data source:
MyDataSourceName java.sql.SQLException: Communication failure during handshake.
Is there a server running on 127.0.0.1:3306? The root cause was that:
java.sql.SQLException: Communication failure during handshake. Is there a
server running on 127.0.0.1:3306? I read in the support notes that I should
try 'local' as the hostname - but that results in the error: Connection
verification failed for data source: MyDataSourceName java.sql.SQLException:
Cannot connect to MySQL server on 'local':3306. Is there a MySQL server running
on the machine/port you are trying to connect to?
(java.net.UnknownHostException) The root cause was that: java.sql.SQLException:
Cannot connect to MySQL server on 'local':3306. Is there a MySQL server running
on the machine/port you are trying to connect to?
(java.net.UnknownHostException) Help - I need to demo it working with some
data to my boss.... M@)
game_on Guest
-
Datasource setting when using jTDS 1.2 with CFMX 7 andSQL2000 (sp4)
I am trying to get the jTDS 1.2 driver working on CFMX 7 and SQL 2000 (SP4). Here is what I did: - stopped CFMX service - copied jTDS-1.2.jar to... -
All CFMX 7 DB2 OS/390 Datasource Connections Failing
Has anyone successfully connected to DB2 on OS/390 (mainframe) with ColdFusion 7 on Windows? This worked fine on ColdFusion 6.1 but refuses to work... -
can't verify mySQL datasource - works in mySQL, but notin CF7
I can't verify a local mySQL datasource in ColdFusion 7 admin. I am using Dreamweaver MX 2004 with the CF7 extensions installed. I am developing... -
CFMX 7.0 Datasource with Access
I just installed CFMX 7 on a new web server. When I initially set it up I was able to connect a few of my Access databases without a problem. Today... -
CFMX and MySQL Datasource Connection Error
Summary: Unable to create datasource for MySQL database successfully. I have followed the steps for... -
BobJP #2
Re: CFMX 7 cannot add MySQL datasource
Hi,
I googled the error message and I got this as a possible solution:
change the authentication method at the mysql server:
set password for <username>@<servername> = old_password('<password>');
BobJP Guest
-
cf_menace #3
Re: CFMX 7 cannot add MySQL datasource
The MySQL drivers that ship with CFMX 7 olny work for MySQL 3.23 through 4.0.x.
If you're running MySQL 4.1, you need to either configure it to use the
[url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url] to see how
to setup the latest Connector J JDBC drivers from MySQL.
cf_menace Guest
-
mpwoodward *TMM* #4
Re: CFMX 7 cannot add MySQL datasource
cf_menace wrote:
Yep, you can handle this situation either way that's been posted.> The MySQL drivers that ship with CFMX 7 olny work for MySQL 3.23 through 4.0.x.
>
> If you're running MySQL 4.1, you need to either configure it to use the
> [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url] to see how
> to setup the latest Connector J JDBC drivers from MySQL.
>
Either you rehash your passwords within MySQL, or you use the updated
MySQL JDBC driver (which I would recommend).
Matt
--
Matt Woodward
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
game_on #5
Re: CFMX 7 cannot add MySQL datasource
Thanks loads - will give it a go.... M@)
game_on Guest



Reply With Quote

