Defining a Dreamweaver database connection. To connect to a database when developing a PHP application in Dreamweaver, you must have one or more MySQL databases and the MySQL server must be started. When you create a database connection, Dreamweaver stores the connection information in an include file in the Connections subfolder in the sites local root folder. You can edit or delete the connection information in the file manually.