如何在 Google Cloud 上登录 phpmyadmin [英] How do I login to phpmyadmin on Google Cloud

查看:59
本文介绍了如何在 Google Cloud 上登录 phpmyadmin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设置了 Wordpress 1 Click 和 Google Cloud,自动为我创建了一个用户.我没有找到任何地方,即 phpmyadmin 密码所在的位置.我怎样才能得到它

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

推荐答案

首先,当您部署一键安装时,您需要确保已选中安装 phpMyAdmin" - 我们将假定已安装并且您已安装不覆盖 phpMyAdmin 默认用户 &密码后:)

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 :)

接下来,导航到 Google Cloud Console 并找到您的 WordPress 安装所在的项目.从左侧菜单中,打开 Compute Engine,然后在 VM 实例选项卡上,选择您的虚拟机.

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.

打开该视图后,向下滚动到自定义元数据部分并找到MYSQL_ROOT_PASSWORD"值.这是您登录 phpMyAdmin 所需的密码.

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.

知道该值后,导航到您机器的外部 IP 并在 IP 后添加/phpmyadmin(例如 xxx.xxx.xxx.xxx/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).

默认用户将是root",然后在自定义元数据中输入来自 MYSQL_ROOT_PASSWORD 的相应值.这应该可以解决问题并让您访问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!

干杯,

泰勒

这篇关于如何在 Google Cloud 上登录 phpmyadmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆