Teaching Research and Publishings Speaking Engagements Professional Development About Me

Notice: Undefined variable: connect in /var/www/codeadam.ca/includes/header.php on line 20

Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /var/www/codeadam.ca/includes/header.php on line 20

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /var/www/codeadam.ca/includes/header.php on line 22

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/codeadam.ca/includes/header.php on line 24

Server Setup Documents


Install phpMyAdmin

To install PHPMyAdmin open up the Google Cloud SSH tool and run the following commands:

  1. Install phpMyAdmin

    sudo apt-get install phpmyadmin

    Note: Keep the defaults for the first two questions and use your MySQL root password.

  2. Configure PHPMyAdmin

    sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
    sudo a2enconf phpmyadmin
  3. Restart Apache:

    sudo service apache2 restart
  4. Visit the URL:
    http://something.domain.com/phpmyadmin
    Use the root MySQL username and password to log in.