Install phpmyadmin on ubuntu Google Cloud
- 27 Aug, 2021
- Technology
How to Install phpmyadmin ubuntu 20.04, 18.04 on Google Cloud
1. Open server command prompt
2. Enter command sudo -s
to change user to root user
3. sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl
4. Select option 'Yes'(use enter key on keyboard), Enter password - password
Note: select apache option if you have already installed apache
5. sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
6. a2enconf phpmyadmin.conf
7. systemctl reload apache2.service
8. sudo mysql
Create New Database and user
CREATE DATABASE Databae Name;
CREATE USER 'username' IDENTIFIED BY 'password';
CREATE USER 'username1' IDENTIFIED BY 'password';
9. Type "quit" to exit mysql prompt
10. http://yourip/phpmyadmin/
(note: run only on http not https)
1. Open server command prompt
2. Enter command sudo -s
to change user to root user
3. sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl
4. Select option 'Yes'(use enter key on keyboard), Enter password - password
Note: select apache option if you have already installed apache
5. sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
6. a2enconf phpmyadmin.conf
7. systemctl reload apache2.service
8. sudo mysql
Create New Database and user
CREATE DATABASE Databae Name;
CREATE USER 'username' IDENTIFIED BY 'password';
CREATE USER 'username1' IDENTIFIED BY 'password';
9. Type "quit" to exit mysql prompt
10. http://yourip/phpmyadmin/
(note: run only on http not https)