Ask a Question related to Coldfusion Database Access, Design and Development.
-
Michael van K #1
MySQL server running but can't be found
I get the following message when trying to set up a datasource in CF
Administrator.
Connection verification failed for data source: gmfg_fusebox
[]java.sql.SQLException: Communication failure during handshake. Is there a
server running on localhost:3306?
The root cause was that: java.sql.SQLException: Communication failure during
handshake. Is there a server running on localhost:3306?
MySQL server is running fine when I try to access the databases via MySQL
Browser but CF can't seem to see it.
Set up is CF MX PRO 2004 on XP with MySQL. CF running as localhost server.
Any ideas greatly appreciated.
Michael van K Guest
-
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'... -
I have a flash movie running a http server but it needsto connect to another server in https.
I have a flash movie running a http server but it needs to connect to another server in https. I am having problems when trying to open the url in... -
I have a flash movie running a http server but it needsto connect to another server in https
I have a flash movie running a http server but it needs to connect to another server in https. I am having problems when trying to open the url in... -
No records found for MySQL Table
Hello, We have a MySQL table that we had been using PHP to query, but now we want to query the table using CF 5.0 on a windows 2000 server. The... -
Running PHP and MySQL from a CD
I know this has been asked before but i cant remember the outcome of the discussion! i want to put a website that runs with PHP and a MySQL... -
mpwoodward *TMM* #2
Re: MySQL server running but can't be found
On 2005-05-03 16:27:11 -0500, "Michael van K"
<webforumsuser@macromedia.com> said:
This has been covered several times before here (or possible in one of> I get the following message when trying to set up a datasource in CF
> Administrator.
>
> Connection verification failed for data source: gmfg_fusebox
> []java.sql.SQLException: Communication failure during handshake. Is
> there a server running on localhost:3306?
> The root cause was that: java.sql.SQLException: Communication failure
> during handshake. Is there a server running on localhost:3306?
>
> MySQL server is running fine when I try to access the databases via
> MySQL Browser but CF can't seem to see it.
>
> Set up is CF MX PRO 2004 on XP with MySQL. CF running as localhost server.
>
> Any ideas greatly appreciated.
the other forums)--do a search for MySQL and you should find plenty of
info. Also do a search on macromedia.com and you'll find a couple of
technotes related to this.
Long and short of it is that if you're using MySQL 4.1 the driver the
ships with CF can't use the password hashing routine in 4.1, so you
either need to use MySQL's JDBC drivers or change the hashing on your
passwords in your database.
Matt
--
Matt Woodward
[email]mpwoodward@gmail.com[/email]
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
Michael van K #3
Re: MySQL server running but can't be found
Thanks Matt,
I did find the jdbc jar on the MySQL website and have tried to install it without much luck.
Any further help regarding methods of setting it all up?
Cheers. Michael.
Michael van K Guest
-
Michael van K #4
Re: MySQL server running but can't be found
I now get this message:
Unable to instantiate logger class 'com.mysql.jdbc.log.Log4JLogger', exception in constructor?
Michael van K Guest
-
mpwoodward *TMM* #5
Re: MySQL server running but can't be found
On 2005-05-03 19:35:40 -0500, "Michael van K"
<webforumsuser@macromedia.com> said:
Just to make sure you saw the most pertinent technote:> Thanks Matt,
>
> I did find the jdbc jar on the MySQL website and have tried to install
> it without much luck.
>
> Any further help regarding methods of setting it all up?
>
> Cheers. Michael.
[url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]
Beyond that you'll have to post exactly how you're setting things up,
the steps you're going through, the errors you're seeing, etc. to get
additional assistance. I use MySQL quite a lot with CF so once I see
where you're getting tripped up I'm sure I can walk you through it.
Matt
--
Matt Woodward
[email]mpwoodward@gmail.com[/email]
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
EDUYork #6
Re: MySQL server running but can't be found
Originally posted by: Newsgroup User
On 2005-05-03 19:35:40 -0500, "Michael van K"
<webforumsuser@macromedia.com> said:
Just to make sure you saw the most pertinent technote:> Thanks Matt,
>
> I did find the jdbc jar on the MySQL website and have tried to install
> it without much luck.
>
> Any further help regarding methods of setting it all up?
>
> Cheers. Michael.
Class: com.mysql.jdbc.Driver
Thanks,
Richard
EDUYork Guest
-
EDUYork #7
Re: MySQL server running but can't be found
Originally posted by: EDUYork
Originally posted by: Newsgroup User
On 2005-05-03 19:35:40 -0500, "Michael van K"
<webforumsuser@macromedia.com> said:
<snip>
This sounds to me like an error in the .class itself.
For the record, my exact setup is:
URL: jdbc:mysql://localhost:3306/[DS_Name]
Class: com.mysql.jdbc.Driver
Thanks,
Richard
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
Richard
EDUYork Guest
-
nicher #8
Re: MySQL server running but can't be found
Thanks, this finally solved my problem too...
nic
nicher Guest
-
Allen Manning #9
Re: MySQL server running but can't be found
:D
This sorted me out as well. Thanks for posting folks.
Best,
al
[url]http://www.prismix.com/[/url]
Allen Manning Guest



Reply With Quote

