This morning I had to do some heavier editing of database tables, so I wanted to take the opportunity to test the MySQL editor that’s built in to Coda 2.
It’s actually really simple, you just need to know exactly what to input into each field, and where to find that info.
First off… if you don’t use SiteGround (aff), I consider it the best bang for hosting WordPress websites.
SiteGround Settings and Setup
Step 1:
Login to your SiteGround account
Step 2:
Go to “My Accounts” then “Manage Account”
If you have more than 1 account, you’ll want to choose the account for which you want to setup in Coda 2. You’ll have to repeat these steps for each account you want access to.
Step 3:
Under “Account DNS” you need to copy the IP address that’s after ns2.sitegroundXXX.com
Step 4:
Click “Go to cPanel”
Step 5:
Under the “Databases” section choose “Remote MySQL”
Step 6:
In the “Host” field, paste the IP address from Step 3, and click “Add Host”
Coda 2 Settings and Setup
Step 7:
Add new site, or choose the site you want access MySQL in.
Step 8:
Set “Database Type: MySQL Server”
Step 9:
Server: Paste the IP address used in Steps 3 and 6
Step 10:
User Name and Password: Copy and paste the username and password associated with the database you want to access.
(Tip: You only need to use the settings for 1 database. After you’re in, Coda will give you quick access to all of the db’s in your SiteGround account)
Step 11:
Initial Database: Paste the exact name of the initial database you want to access. Make sure the username and password above are already users of this database.
Step 12:
Save and connect!
Once you’re in, add a new MySQL document and use the dropdown on the top left to choose which database you want to connect to. So far, I’m loving using Coda much more than PHPMyAdmin!
Wahab Riaz says
Thanks for your priceless guidance. The knowledge you shared here is well detailed.
JiveDig says
Thanks for stopping by!