setting up mysql in dreamweaver

This is a discussion on "setting up mysql in dreamweaver" within the Databases section. This forum, and the thread "setting up mysql in dreamweaver are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 17th, 2007, 12:43
New Member
Join Date: Apr 2007
Location: South Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
setting up mysql in dreamweaver

my ISP has set up mysql database for me, as I am totally new to databases. I'm working in dreamweaver which is also new to me, oh I can hear all your groans already. I've +Document Type:PHP. Mysql connection dialog box opened. Added server, user name, password, database - all this info was given to me by ISP. I don't know what is meant to be entered in the 'connection name' field. I added 'wholesaleprice' which is what i have named my php file, but received a message 'an unidentified error has occured' What do I need to enter in the Connection name.
thanks for your help

Lorraine
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 17th, 2007, 13:00
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: setting up mysql in dreamweaver

In that connection name field try putting something like $conn or just conn

They probably just want a php variable that they can assign the connection string too
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 19th, 2007, 14:30
New Member
Join Date: Apr 2007
Location: South Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Connecting MySQL in Dreamweaver

Hi, I'm new to MySQL (and building websites). I'm working in dreamweaver 8 on mac osx. My ISP has set up MySql/PHPadmin for me in my cpanel. I've set up a testing server on my website.
Server Model: PHP MySQL
Access: Local/Network
Testing Server Folder: Showing the location of the folder I set up which holds serverscripts folder, mysql.php and php document files.
URL Prefix is showing as http:/MacintoshHD/_mmServerScripts/MMHTTPDB.php

The checklist in the 'databases' are all ticked.

Click + in Databases, select MySQL connection. Dialogue box appears.
Connection Name: - What should go in here, I have tried php document name, connection folder name and everything else under the sun. My ISP sent me the details for server/user/password and d/base, so I know they are correct. I click 'test' and receive this generated message.

HTTP Error Code 404 File Not found. Here are some possible reasons for the problem:

1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to the http://MacintoshHD/_mmServerScripts/MMHTTPDB.php?
Type=MYSQL&ConnectionString=host=remotemysqlhost;u id=glasall0_midph;pwd=******;&Host=remotemysqlhost &&Database=&UserName=glasall0_midph&Password=***** *&Timeout=30 URL. Verify that the URL Prefix maps to the root of the site.

As my ISP supports php/mysql and runs off Apache I'm sure I don't require any other applications, and I presume I don't need to set up a remote folder?

I have googled and googled, read and read, but cannot find an answer. I need help, 3 days I've been staring at dreamweaver! Please use beginner terms, I'm very green but very determined!

Thank you,
Lorraine
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Apr 19th, 2007, 14:44
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: setting up mysql in dreamweaver

You already had a thread created in the PHP forum so I merged both and moved it here in the MySQL section.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Apr 19th, 2007, 14:51
New Member
Join Date: Apr 2007
Location: South Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: setting up mysql in dreamweaver

Sorry about that Karinne, I think my head's about to explode. The suggestion you gave me earlier for the connection name didn't work unfortunately.

Thanks
Lorraine
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Apr 19th, 2007, 14:56
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: setting up mysql in dreamweaver

I'm curious ... why I you using DW to set this up? Why don't you just put the code in the PHP file an away you go? This looks like a PITA to do for such a simple task?!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Apr 23rd, 2007, 13:00
New Member
Join Date: Apr 2007
Location: South Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: setting up mysql in dreamweaver

Karinne, I had to step back from this for a while, but in doing so I thought of what you asked, why am I doing this the difficult way. I couldn't agree more, and received some info on how to connect bypassing Dreamweaver's set up, and finally I am connected. Now to go and learn how to code in PHP :-) and build a database. Off to do some reading here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Apr 23rd, 2007, 19:47
New Member
Join Date: Apr 2007
Location: england
Age: 23
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: setting up mysql in dreamweaver

yo,
im sorry i'm confused. i have exactly the same problem with setting up my database in Dream Weaver. I need to use DW cause i'm making my website on DW. I've downloaded MySQL, set it up, and now i'm trying to set up this MySQL connection in DW...but this error message comes up when i press "test"..

Http Error Code 404 File NOt Found. Here are some possible reasons for the problem:
1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to the http://geocities.com/_mmServerScripts/MMHTTPDB.php URL. Verify that the URL Prefix maps to the root of the site.

what on earth do I do? i'm using geocities to host the site online - is this a problem? i haven't done much on the making of my website, so i can start from scratch!
also im asked during the dynamic data setup in DW -

Dreamweaver communicates with your testing server using HTTP, so it needs to know the URL of your site's root folder.
What URL would you use to browse to the root of your site?

It has accepted my answer, but i can't help but wonder this is where the problem lies? i just don't know how to uncover it! ek!

additional...do i have to install php? may be a stupid question, but does definately have to be asked!!

thank you for your time in advance!
rob

Last edited by dirtyfrank; Apr 23rd, 2007 at 21:16.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jun 24th, 2007, 02:05
Reputable Member
Join Date: Dec 2005
Location: U.S.A.
Posts: 155
Thanks: 0
Thanked 4 Times in 4 Posts
Re: setting up mysql in dreamweaver

Hi Frank. Unfortunately, this is why WYSIWYG editors are the devil! I have a few questions that you'll need to answer before anyone can help you.
  1. Do you have a web server locally on your computer..such as Apache, IIS? (Geocities is not a testing server. A testing server is a server on your machine for debugging purposes before the site goes live)
  2. Have you installed MySQL?
  3. Yes, you have to install PHP.
After all that, you need to learn how set up a database in MySQL and use PHP syntax to access it. If you haven't done any of these things, here's some reading for ya.
I hope this steers you in the right direction. i can be quite overwhelming at first.

Good Luck and let us know how your coming along,
Scott
__________________
Web Design and Development
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jun 24th, 2007, 02:20
Most Reputable Member
Join Date: Dec 2006
Location: San Francisco
Age: 57
Posts: 1,567
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: setting up mysql in dreamweaver

If you want all three and an easy way to install http://www.apachefriends.org/en/xampp.html

easy, clean and great help all along the way....it is how I started to learn sql....
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)

Last edited by sannbe; Jun 24th, 2007 at 02:22.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
dreamweaver, mysql

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL and dreamweaver mattkirtley Databases 3 Apr 1st, 2008 13:19
adobe dreamweaver Vs. Macromedia dreamweaver jahphill Scripts and Online Services 21 Nov 2nd, 2007 03:19
problem connecting to mysql from dreamweaver steven rowlands PHP Forum 6 Mar 18th, 2007 09:11
PHP, Dreamweaver, mySQL - South East UK Klyve Job Opportunities 0 Jun 22nd, 2006 09:56
setting ID field increment in MySQL GillBates Databases 1 Nov 17th, 2003 21:59


All times are GMT. The time now is 23:51.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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 30 31 32 33 34 35 36 37 38 39 40 41 42