Jump to content


Photo

Dreamweaver not connecting to MySQL


  • Please log in to reply
1 reply to this topic

#1 ed2

ed2
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 07 June 2004 - 10:16 AM

Hi

I'm new to PHP, and trying to connect Dreamweaver MX to my MySQL database. I know that my server, username and password are correct because I use them in phpMyAdmin successfully.

I'm not using a local PHP server, because I prefer just to upload my PHP scripts to the web and test them there.

Could my not installing PHP locally be causing the connection problem?

Ed

#2 apollyon

apollyon
  • Members
  • Pip
  • Newbie
  • 2 posts
  • LocationWichita Falls, TX

Posted 07 June 2004 - 03:31 PM

Yes, you must have PHP installed locally for this to work. Without PHP installed the connection script is just a bunch of junk.

Also another problem you may run into after installing PHP is Dreamweaver doesn't use the same version. It will not connect to the database and gives you a bunch of errors when you try to connect through the browser.

If you like to just upload to the web, install PHP on you local machine, and read the tutorial for DSNLess Connections.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users