- Create a WorkSpace (or clone from a repository).
- Download the latest WordPress source (https://wordpress.org/download/).
- Extract the file. Copy the files/folders upload to your Cloud9 workspace root.
- Make sure MySQL is running and open myPHPAdmin (see “Cloud9 – Setting up and using phpMyAdmin MySQL web interface” below).
- Create a new database for the site.
- I use utf8_general_ci collation.
- Create a new user for the site (give appropriate permissions – for right or wrong I give all permissions because I have seen Cloud9 do this when doing a 5-minute install).
- I set host to “%” (all).
- Create a wp-config.php from the wp-config-sample.php. Update the database name, username, password, and set an alternative table prefix if needed.
- Run the site and browse to the root of the site. The WordPress install process should automatically begin (starting with language selection) and complete the rest of the setup.
Cloud9 – Setting up and using phpMyAdmin MySQL web interface
This page – https://community.c9.io/t/setting-up-phpmyadmin/1723 – says it all, but here are the keys points again:
Using PHPMyAdmin with Cloud9
First, create a PHP workspace so you have PHP, MySQL, and Apache installed right away. You can then make sure you have MySQL installed by running:
mysql-ctl install
Then install phpMyAdmin:
phpmyadmin-ctl install
After the installation is complete you’ll just want to make sure mysql is running once more:
mysql-ctl start
After installing phpMyAdmin, you were given a link to access PHPMyAdmin which will follow the pattern of: https://[workspacename]-[username].c9users.io/phpmyadmin. From that link, you can log in with your Cloud9 username and a blank password.