Programming Techniques > Connecting to SQL database
Jul21, 2008 01:03 PM
Create a MySQL connection in Dreamweaver for dynamic applications
Once the MySQL user account has been set up and the site has been defined, you can connect to your MySQL database in Dreamweaver. Using the above settings, here are example settings for the MySQL Connection dialog box in Dreamweaver:
Connection Name: choose a name (e.g. connEmp)
MySQL Server: mysql1.myDomain.com
User Name: dbuser
Password: myPassword
Database: enter the name of your database or click on the Select button to choose from a list of MySQL databases running on the server.
Note: For the MySQL Server field you must enter localhost if PHP and MySQL are running on the same machine.