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.
|
|
|
|
|
![]() |
||
setting up mysql in dreamweaver
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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.
thanks for your help Lorraine |
|
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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?!
|
|
#7
|
|||
|
|||
|
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.
|
|
#8
|
|||
|
|||
|
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. |
|
#9
|
|||
|
|||
|
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.
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 |
|
#10
|
|||
|
|||
|
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. |
![]() |
| Tags |
| dreamweaver, mysql |
| Thread Tools | |
|
|
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 |