database 如何访问wordpress数据库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6978059/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 08:17:52  来源:igfitidea点击:

How to access wordpress database?

databasewordpresscpanel

提问by woninana

I do have the access for the ftp account for this wordpress website and I need to access to its database.

我确实可以访问这个 wordpress 网站的 ftp 帐户,我需要访问它的数据库。

Where can I find it? It doesn't have a cpanel cause when I try to access www.sampleURL.com/cpanelit shows:

我在哪里可以找到它?当我尝试访问www.sampleURL.com/cpanel它时,它没有 cpanel 原因显示:

Not Found The requested URL /cpanel was not found on this server.

Not Found 在此服务器上找不到请求的 URL /cpanel。

Is there any other way?

有没有其他办法?

采纳答案by Ionu? Staicu

You can use one of phpmyadmin-liketools out there. You can get the login data by editing wp-config.phpfile from your wp root.

您可以使用其中一种类似 phpmyadmin 的工具。您可以通过wp-config.php从 wp 根目录编辑文件来获取登录数据。

回答by Dan Grossman

Well, you'd connect with the mysqlclient typically... you won't find the database with an FTP client.

好吧,您mysql通常会与客户端连接……您将找不到带有 FTP 客户端的数据库。