Skip to main content
September 14, 2009
Answered

MySQL Integration

  • September 14, 2009
  • 1 reply
  • 833 views

I recently discovered Dreamweaver's MySQL integration, but I cannot get it to work. Something is wrong with my configuration, and when run, I get 404 errors. The server and permission are set correctly.

Local Info:
  Local Root Folder: G:\xampplite\htdocs\home\
  Links relative to: Site root
  HTTP Address: http://supertwinkie.co.cc/

Testing Server:
  Model: PHP MySQL
  Access: Local/Network
  Folder: G:\xampplite\htdocs\home\
  URL Prefix: http://localhost/

My site is stored and tested on an XAMMP lite server located on my flashdrive. Remote goes through FTP to my x10 account (no probems). I setup a database with a user account and privileges setup with Dreamweaver. Testing this database connction, I get a 404 error:

http://i29.tinypic.com/8yxqpz.jpg

I don't understand the second reason, and Dreamweaver documentation does not cover it. I assume that this is not relevant to me.

Whats wrong?

This topic has been closed for replies.
Correct answer David_Powers

Jacob666666 wrote:

I don't understand the second reason, and Dreamweaver documentation does not cover it. I assume that this is not relevant to me.

You assume incorrectly. It's totally relevant to you.

http://localhost is the equivalent of htdocs. Since your site is in a subfolder of htdocs, you need to add the name of the subfolder to your URL prefix:

http://localhost/home/

1 reply

David_Powers
David_PowersCorrect answer
Inspiring
September 14, 2009

Jacob666666 wrote:

I don't understand the second reason, and Dreamweaver documentation does not cover it. I assume that this is not relevant to me.

You assume incorrectly. It's totally relevant to you.

http://localhost is the equivalent of htdocs. Since your site is in a subfolder of htdocs, you need to add the name of the subfolder to your URL prefix:

http://localhost/home/

September 14, 2009

Thank you, this works correctly with MySQL.

However, I get this warning:

http://i27.tinypic.com/eq9h88.jpg

Is this a problem?

David_Powers
Inspiring
September 15, 2009

You can safely ignore that warning.