How do I login to phpmyadmin on Google Cloud

China☆狼群 提交于 2021-02-08 13:43:56

问题


I setup the Wordpress 1 Click, and Google Cloud, automatically created a user for me. I did not get any place, where the phpmyadmin password is. How can I get hold of that


回答1:


First off, when you deploy the one-click installation, you need to ensure you have 'install phpMyAdmin' checked - we will assume that was installed and you did not overwrite the phpMyAdmin default user & password after :)

Next, navigate to the Google Cloud Console and find your project where your WordPress installation is located. From the left side menu, open Compute Engine and on the VM instances tab, select your virtual machine.

Once you open that view, scroll down to the custom metadata section and find the 'MYSQL_ROOT_PASSWORD' value. That is the password you need to log into phpMyAdmin.

After you know that value, navigate to the external IP of your machine and add /phpmyadmin after the IP (e.g. xxx.xxx.xxx.xxx/phpmyadmin).

The default user will be 'root' and then enter the corresponding value from MYSQL_ROOT_PASSWORD in custom metadata. That should do the trick and get you access into phpMyAdmin. Hope that helps!

Cheers,

Tyler



来源:https://stackoverflow.com/questions/38358958/how-do-i-login-to-phpmyadmin-on-google-cloud

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!