ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 23rd, 2004, 05:52 PM
Sara J Sara J is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 9 Sara J User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Coldfusion in dreamweaver using mysql.

Hi everyone, any ideas welcome!

(or just tell me how simple it should be!)

I've just started using mysql, I can connect to the database and manage it pretty well. I'm using the front end interface navicat (which has helped). However when I test my coldfusion applications on localhost. I get an error "database not selected". Ive created the datasource in coldfusion administrator and odbc, tested it and it seems fine. The database appears in dreamweaver, though if I try to expand the tables I'm asked for a login ID and password. Nothing I try that seems logical works, (datasource user and password, mysql specified use username and password).

I created a user account for the web application and granted privileges specifically for that database. Followed a tech note in macromedia though most of it was directed towards php and a remote testing server.

Also repeated some of Ben Forta's W.A.C.K. with his mysql db and his code. Just to see how stupid I really was, but got the same result.

found this at:
http://www.macromedia.com/support/dreamweaver/ts/documents/dwmx_dynamic_faq.htm

"What databases have been tested with Dreamweaver MX 2004?
Dreamweaver MX 2004 has been tested with the following databases. Note that PHP is supported only with MySQL databases.

Microsoft Access 2000 and 2002 on Windows
Microsoft SQL Server 2000 on Windows
MySQL 4.0 on Linux and Macintosh OS X 10.2.6
Oracle 9i Enterprise on Linux and Windows "

Theres some other stuff on there as well.

It doesnt mention mysql on windows? Wondering if I
can only use a remote testing server.

Have been using coldfusion with access db for about a year and can normally figure stuff out via information on the web, but there seems very little on coldfusion with mysql.

thanks - Sara

Reply With Quote
  #2  
Old September 24th, 2004, 04:40 AM
Sara J Sara J is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 9 Sara J User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Also I do have the myodbc3 drivers, and it shows up in odbc Admin. Also have a dsn set up in CF Admin and odbc, both tested successfully. What is a little weird is in winmysqladmin it says:

Not Found

Driver version
Driver C: \windows\system32\myodbc3.dll
API Level
Set up C: \windows\system32\myodbc3.dll
SQL Level

I've checked and they are there in win-sys32. I've reinstalled them downloaded different versions, manually copy and pasted them. Still the same result.

I read something here- http://lists.mysql.com/win32/15023 saying it probably doesnt matter, and I checked my error report - nothing there. So basically I am stuck! -Sara

Reply With Quote
  #3  
Old September 24th, 2004, 08:34 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,626 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 6 m 34 sec
Reputation Power: 53
I don't use MySQL (we use Oracle and SQL Server) so I'm afraid I can't help here. If anyone has some ideas please post them.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #4  
Old September 24th, 2004, 10:38 AM
Sara J Sara J is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 9 Sara J User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the response kiteless,

made me feel better anyway!

Forgot too mention that I'm using Coldfusion MX 6.1 on Win XP, should I be using a JDBC driver? Though thought I read that you can use either. My learning curve is a little overloaded.

I've only been using coldfusion with access for a year or so and so far have got by ok ( with the help of google, forums and macromedia). However I've really struggled to find much on coldfusion and mysql. I've just sorted our VPN connection now so I'll see what fun that brings.

Dont mind feeling stupid, if anyones got any ideas. It may well be something simple. I just really need to get this sorted soon! - Thanks anyway!

Sara

Reply With Quote
  #5  
Old September 27th, 2004, 12:01 PM
Sara J Sara J is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 9 Sara J User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Reinstalled everything and started from scratch - now have mysql fully functioning on localhost and my remote server - everything works! Theres a good discussion here that helped me get my head round it: http://support.jodohost.com/search.php?searchid=63874 No more mysqHELL - I hope! - Sara

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Coldfusion in dreamweaver using mysql.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway