Connecting to Bluehost Mysql from Dreamweaver - and DMX database connector 404 problem
The instructions are:
Problem: How can I connect to our MySQL database from Dream Weaver?
Solution:
Log into your bluehost account and click on "MySQL Databases" then under "Users" create a new user and password if you don't already have one you want to use. Then add that user to the database you wish to work with through Dreamweaver.
Now open Dreamweaver, create a new blank PHP page, then at the top bar click on "Site" then "New". Leave the "Local Info" as it is, but click on "Remote Info" instead and change the access type to FTP.
Here are the settings you'll need to fill out:
FTP host = your domain name or IP (the IP can be found in the Control Panel)
Host Directory = public_html (or public_html/addondomain)
login = control panel (cpanel) username
password = control panel (cpanel) password
Next click on 'Testing Server' then change the 'Server Model' to 'PHP/MySQL' and access to FTP. Use the same account information as above, and if Dreamweaver asks for a 'Remote Info Page', simply use http://www.yourdomain.com
Now to connect to your account and set up a connection to a database.
Up at the top menu bar in Dreamweaver click on 'Window' then 'Databases'. This will bring up a menu on the side bar, if it is not already up, where you can click on the + button and set up a 'MySQL Connection'. Label it what you would like in the 'Connection Name' and use these settings:
MySQL Server = localhost
Username = The control panel username then '_' and MySQL database username
Example: cpanel_mysqlname
Password = Password to the MySQL database username
Database = Click 'Select' and choose your database
Then you can test the connection to see if your settings are correct.
These instructions don't work with DW CC 2017. I have two servers set up. One to connect to the Bluehost public_html for files which is working. The second to go to a XAMPP test server on my pc which also works. I need to have a connection to the database on Bluehost too. I am new to this and really don't know what I am doing. I got this far but using the Dreamweaver tutorials and instructions. I have a membership form and need to store and use the data on Bluehost.
- There is no local information when you click on new site
- Dreamweaver won't let me have the same site info as the first server
- There is not Databases under Window
The second problem is that to make my life easier, I purchased some DMXzone extensions. The Database Connector extension isn't working correctly and everything on DMXzone says it is because I have set Dreamweaver up incorrectly. I am getting a 404 error on both servers. I would really like to use this extension but have used up a week researching why it won't work and am about to get fired since I missed the deadline. Bluehost has no idea what the problem is. I need some expert help. I was hoping that using the extension would go well since I have not idea how to write my own script to do what I need.
I hope you can help me. I am 69 years old and retired 10 years ago from Ohio State. I have done several websites but never had to do a membership form before. The form was very easy using Bootstrap but now it is just sitting there waiting for me to finish. I hope you can help.
Thank you.
Connie

