Article ID: 116050, created on May 7, 2013, last review on Oct 16, 2016

  • Applies to:
  • Plesk for Windows


Attempts to manage a customer's MySQL databases produce errors:

Error: Connection to the database server has failed because of network problems: Try to establish connection failed

The MySQL server is marked in red on the Tools & Settings > Database Servers screen.


This problem may be caused by Plesk storing an incorrect MySQL server administrator password.


To solve the problem and reconnect Plesk with the MySQL server, follow these steps:

  1. Stop the MySQL server (but not "Plesk SQL Server") from running on port 3306 using the Plesk Services Monitor tray utility.

  2. Edit the MySQL configuration file, %plesk_dir%\Databases\MySQL\Data\my.ini, and add the line skip-grant-tables to the [mysqld] section.

  3. Start the MySQL server.

  4. Log into MySQL without the password:

  5. Change the password for the MySQL administrator:

    UPDATE mysql.user SET Password = password('newpassword') WHERE User = 'admin';
  6. Remove skip-grant-tables from the MySQL configuration file and restart the service.

  7. Log into the Plesk interface, go to the database server management settings (Tools & Settings > Database Servers), and change the password for the corresponding database server to the one set in Step 5. Plesk will re-establish the connection to the server.

For the same problem on a Linux server, please use this article

Search Words

PleskDBException: Unable to connect to database: 1045 (Abstract.php:69)

password root mysql

mysql admin account rejected due to account not having administrative privileges

Plesk atmail failed to update

Parallels Presence Builder create website

Not able to create database

Warning: For Plesk to work, you need to select the default components from the list below. Make sure that the components you select are properly installed and configured. It is possible to change your selection afterwards.

plesk upgrade cause panel and ftp to stop working

#2002 - No connection could be made because the target machine actively refused it

plesk sql server

SQLSTATE[HY000] [1045] Access denied for user 'ad3'@'localhost' (using password: YES)

The installation of the package 'mysql' failed with code 1603

Plesk impossible to use the wordpress tool

Access denied for user 'admin'@'localhost'

mysql -uadmin -P8306

Add new database None

admin does not have necessary priviledges to connecto mysql

Error: Connection to the database server has failed because the supplied account does not possess administrative privileges: Access denied for user 'admin'@'localhost' (using password: YES)



Unable to log into Plesk

plesk unable to create database

The test connection to the database server has failed because of network problems:

56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8

Email subscription for changes to this article
Save as PDF