WordPress MySQL数据库上下

发布于 2025-02-10 03:10:32 字数 616 浏览 2 评论 0原文

希望一个简单的问题。

我在Digitalocean上安装了WordPress液滴。我必须进入数据库才能通过指挥工具更改用户名和密码,而我遵循的指南让我执行了以下步骤:


    Access mysql as root:

mysql -u root

    List your databases:

show databases;

    Select your database:

use yourdatabasename;

    List the database tables:

show tables;

现在发生的是当我使用UH使用命令时,这似乎使我的WordPress丢失了与我的数据库建立连接大约二十秒。该网站将起作用,但然后下降。

无论如何是否可以解决这个问题,还是我受到骨骼?如果我再次运行“显示数据库”,我将获得以下内容:

information_schema
mysql
performance_schema
sys
wordpress

非常感谢您的任何帮助!

编辑:只有一些上下文,这是一个Barenbones WordPress安装,只有以下插件:

ACF WooCommerce 忍者形式

hopefully a simple question.

I have a WordPress droplet installed on DigitalOcean. I had to go into the Database to change a username and password via command tools, and the guide I followed had me do the following steps:


    Access mysql as root:

mysql -u root

    List your databases:

show databases;

    Select your database:

use yourdatabasename;

    List the database tables:

show tables;

Now what happened was when I used the uh use command, that seemed to have made my WordPress lose a establishing connection with my Database for more than about twenty seconds. The site will work, but then go down.

Is there anyway to fix this or am I boned? If I run "show databases" again, I get the following:

information_schema
mysql
performance_schema
sys
wordpress

Thank you so much for any help!

Edit: Just some more context, this is a barebones WordPress installation with just the following plugins:

ACF
WooCommerce
Ninja Forms

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文