House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

MySQL/ColdFusion MX 7 (RESOLVED)

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
ColdFusion
02/06/2006 09:59 PM

For all those who either had attempted to help or are/have had the same problem, this is how I resolved my issue. Somewhat drastic but it works just fine now: 1. Removed CFMX 7 2. Removed MySQL 5.0 3. Rebooted machine 4. Re-installed CFMX 7 5. Reinstalled MySQL 5.0 6. Downloaded mysql-connector-java-3.1.12-bin.jar from MySQL.com 7. Extracted the mysql-connector-java-3.1.12-bin.jar file into the following directory: D:\CFusionMX7\wwwroot\WEB-INF\lib 8. Rebooted machine. 9. in CFMX Admin, enabled SandBox Security, Set all access to datasources and with Ips set to connect, resolve. 10. Create ODBC using "Other" with the following parameters: JDBC URL:  jdbc:mysql://localhost:3306/mindkeeper_support DRIVER CLASS: com.mysql.jdbc.Driver Database: {database to connect to} Username: {self-explanatory} Password: {self-explanatory} And it authenicated just FINE :-) Thanks for everyone's HELP!!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
John Paul Ashenfelter
02/06/2006 11:26 PM

Glad you solved your problem > Set all access to datasources and with Ips set to connect, resolve. > > 10. Create ODBC using "Other" with the following parameters: BUT YOU DIDN'T SET AN ODBC!!! You created a CF datasource. Every time you call it an "ODBC" you make troubleshooting more confusing. CF uses, as well all know, *J*DBC -- and you use the ODBC Socket *JDBC* connection if you actually need ODBC connectivity. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) ashenfelterj@transitionpoint.com

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
ColdFusion
02/07/2006 05:44 AM

My apologies John. I had tried both ways using the ODBC using the Selection of MySQL(3.x) as well as Other (JDBC). However, I did use the "ODBC" settings within the Control Panel to rule out the issues Governing the Port, Username, and password for the MySQL Database Server as well as to confirm that the server was in fact running. Glad you solved your problem > Set all access to datasources and with Ips set to connect, resolve. > > 10. Create ODBC using "Other" with the following parameters: BUT YOU DIDN'T SET AN ODBC!!! You created a CF datasource. Every time you call it an "ODBC" you make troubleshooting more confusing. CF uses, as well all know, *J*DBC -- and you use the ODBC Socket *JDBC* connection if you actually need ODBC connectivity. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) ashenfelterj@transitionpoint.com

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
John Paul Ashenfelter
02/07/2006 10:57 AM

> My apologies John. I had tried both ways using the ODBC using the > Selection of MySQL(3.x) as well as Other (JDBC). Again, not to be a pain, but no you didn't set up an ODBC. You set up a MySQL(3.x) JDBC datasource. Then you set up an Other JDBC datasource using the mysql connector/j. Mixing ODBC and JDBC really makes following the thread confusing. Repeat it with me "I set up a *DSN*" or "a ColdFusion *datasource*". You did *not* set up an ODBC connection unless you chose "ODBC Socket when you configured the cf *datasource*. However, I did use ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adkins, Randy
02/07/2006 11:25 AM

John, in fact YES I did create an ODBC just not in ColdFusion. So if we get technical I did the *ODBC* in the Windows Control Panel to validate the connection information. Now with that said, instead of me saying *ODBC* in the thread, The proper term would have been "using the ColdFusion Datasources To establish a datasource using JDBC". Since the datasource For MySQL(3.x) as listed in the drop down of selections was not Working. By sincerely, I do apologize for the misleading of information based on *proper terminology*. Again, I do appreciate the assistance That you provided. > My apologies John. I had tried both ways using the ODBC using the > Selection of MySQL(3.x) as well as Other (JDBC). Again, not to be a pain, but no you didn't set up an ODBC. You set up a MySQL(3.x) JDBC datasource. Then you set up an Other JDBC datasource using the mysql connector/j. Mixing ODBC and JDBC really makes following the thread confusing. Repeat it with me "I set up a *DSN*" or "a ColdFusion *datasource*". You did *not* set up an ODBC connection unless you chose "ODBC Socket when you configured the cf *datasource*. However, I did use ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

February 04, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29