Dynamic Connections provides various functionality for defining MySQL Database Connections in Dreamweaver that is otherwise not available in Dreamweaver's default Database Connection interface.
If you often create two different database connection files (one for testing and one for remote), using Dynamic Connections will allow you to create one database connection file that uses the appropriate database based on the domain your page is being displayed on. You can even use this tool if you want to switch databases for different sites.
This Getting Started Guide runs through the process of creating a dynamic MySQL database connection in Dreamweaver using Dynamic Connections.
You will need the following items before starting this tutorial:
Once installed, this extension adds a Dynamic MySQL Database Connection option to the Dreamweaver Databases panel that you can use to create your database connections going forward.
Before you will be able to access this option, you must first have defined your Dreamweaver site as a PHP/MySQL site and have the database connection information available.
The primary connection is the default connection that will be used for any domain that is not configured under Additional Connections.
You can add as many additional connections as you like. Each connection can be associated to any number of domains. When the database connection file is run on a specified domain, it will use the connection that you configured.
Dynamic Connections create a connections file in your Connections folder the same way it is done by Dreamweaver's connection interface. The Database Connection file will contain all the connections you specified with conditional behavior applied to determine which connection should be used when.
Simply upload this Connections folder with your site as normal, and Dynamic Connections will make sure to use the right database when necessary.
Comments will be sent to the author of this tutorial and may not be answered immediately. For general help from WebAssist, please visit technical support.
Sign in to add commentsYour friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.