• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Where will be the wordpress database?

Avaneesh b

New Pleskian
I have a wordpress website hosted in the plesk control panel. When i do the sqldump for the database of my wordpress i received the error saying access denied. When i checked the wordpress config file the username and the password i used are correct. I used the following command to run sqldump

Code:
"C:\Program Files (x86)\Plesk\MySQL\bin\mysqldump.exe" -u administrator -ppassword wordpress_0>"D:\backup\wordpress.sql"


For further checking i logged in to the mysql database but i did not find my wordpress database. I am little confused, actually where can i find my wordpress database?
 
Correct command should be like:

"%plesk_dir%\Mysql\bin\mysqldump.exe" -uadmin -p<plesk_admin_password> -P8306 DATABASE_NAME > C:\FULL\PATH\TO\FILE_NAME.sql
 
Correct command should be like:

"%plesk_dir%\Mysql\bin\mysqldump.exe" -uadmin -p<plesk_admin_password> -P8306 DATABASE_NAME > C:\FULL\PATH\TO\FILE_NAME.sql

Thank you for the quick reply. I tried the command you gave but i am receiving the error

mysqldump: Got error: 1049: Unknown database 'wordpress_0' when selecting the database
 
Are you sure that you really have MySQL database with name 'wordpress_0'?
 
Are you sure that you really have MySQL database with name 'wordpress_0'?

yes since the wordpress is running in the same server...

when i checked by loged in i only found the following databases
+--------------------+
| Database |
+--------------------+
| information_schema |
| apsc |
| mysql |
| performance_schema |
| psa |
| test |
+--------------------+
6 rows in set (0.02 sec)
 
Check your wp-config.php file and see which database server and database name your are actually using. Maybe your Wordpress instance is connecting to a remote database server....?
 
mysqldump: Got error: 1049: Unknown database 'wordpress_0' when selecting the database

Kindly check your database and user details twice in wp-config.php file, there might be issue with wrong database details provided.
 
Hi

Do you have any other mysql server added in the Data bases section in the plesk ? Also are you sure you are seeing this wordpress name in the plesk databases section for that domain in plesk and able to take dump from front end plesk section ?
 
My wp-config is
Code:
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress_0');

/** MySQL database username */
define('DB_USER', 'administrator');

/** MySQL database password */
define('DB_PASSWORD', 'password');

/** MySQL hostname */
define('DB_HOST', 'localhost:3306');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

I don't have any other wordpress hosted in this server and no other mysql database as well.
 
Is the Domain working fine ? Also can you see if there is any other mysql server listed other than localhost ?

Tools & Settings > Database Servers
 
Are you able to export a dump from plesk interface ? If not then the db may have some how got removed but still I wonder if that is the case then how the site is working.

To save a copy of a database:
  1. Go to Websites & Domains > Databases > Export Dump in the database tools pane.
  2. Save a dump:
    • To save a dump in a certain directory on the server, select the directory. The home directory of your subscription is used by default.
    • To save a dump on your local computer as well as on the server, select Automatically download dump after creation.
 
Ok ran the dump from the UI as mentioned. Dump created successfully but i doesn't contain all the data!!.. Dump only contain one of my page rested of the page is not present in Post table
 
So some database inconsistency may have happened. It may require a detailed investigation and better to contact your server administrator or service provider for the same
 
Hey! I had a similar problem, I decided to use those support from a specialist, but at the moment the answer has not come. I hope the information you provided will help me. I have looked at some examples of the databases created, as uscompanieslist.com, and would like to create something similar. I want to distribute it on the Internet and constantly update it to help users. Basically, my database will be a great source that provides information on various companies looking for new employees. I try to collect all the necessary data so that the user can compare the provided options and choose the most suitable one for himself.
 
Last edited:
Back
Top