Problem connecting to mysql database thru PHP

Hey.

I’m a newbie, so thanks for reading. :slight_smile:

My problem is this: I’m testing a php form that you guys have as a tutorial on your website. MySQL/Apache/PHP are all installed and work fine. However, in the mysql_connect() parameters, what do I put? The error I get (which can only be viewed in the source) says, “error querying database”.

For viewing purposes, here’s the tutorial I spoke about: here

NOTE:

  • I am NOT using WAMP. Just Dreamweaver.
  • My MYSQL is located in C:\mysql\bin.
  • My localhost directory is located in C:\base (just a directory I assigned).