Confused, which MySQL database to connect to: local (WAMP), or remote?
Hello, new to dynamic sites, have successfully installed WAMP and set up my local/testing/remote sites in DW CS4. Most tutorials I've found recommend making the "MySQL Connection" in Dreamweaver to the local (WAMP) installation of MySQL, which I am able to do. But my remote site already has an existing MySQL database and tables. So should I be making the MySQL Connection to the remote database instead? Or exporting the remote server's database and importing it locally for development purposes? What's the best practice?
If making the connection to my local database is recommended, how do I transfer any changes that I make on my local db to the remote database? Do I need to export locally & import to the remote db, using phpmyadmin, every time I make changes to the local database?
If making the connection to my remote database is recommended, I have 2 questions: 1) do I even need my local WAMP MySQL database for anything? and 2) I was able to connect to my remote MySQL, (first got "MySQL ERROR 1045 Access Denied", but then went into my remote server via CPanel, found the "Remote MySQL" function, and entered my long current domain name as a new Access Host), but since I'm at a home office without a static IP, will I have to keep going into CPanel and entering in a new Access Host every time my IP address changes?
Apologies for the confusion. Any pointers to recommended best practices would be much appreciated.
- Frank
