• 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.

Issue Try to create a database server MySQL

Fester77NL

New Pleskian
Hello all,
I am trying to create a database server. But I get a server error. SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) The database can then be seen in the overview. When I try to add a database I get this message: Error: No database servers are available for this subscription. I've done this regularly with no problems. And now this?
Could someone help me?
 
hello @Fester77NL ,

probably appropriate service plan (that you are trying assign to subscription) does not allow to create databases ?

another reason, probably you need to go to tools & Settings > Database Servers
and verify that the appropriate MySQL server not marked as having troubles ?

did you find more detailed error message in plesk's php_error.log ?
 
Hello Fester77NL,

As per my knowledge, there are two types of errors that can be seen while adding the database server.
Access denied for user ‘admin’@’mysql server IP’ to database or Access denied ‘server IP address is not allowed to connect to this MySQL server.

However, By Default, a Connection to the MySQL server is allowed from the Localhost. Only in one condition, the Plesk server should be connected to a remote MySQL server, Where, it is supposed to allow access to the MySQL server. Here, the user can manage the databases from Pericular IP addresses.

And as you have said, it shows errors like Database servers are not available for this subscription. So that error has o be something dealing with your current hosting plan. And I would still suggest you ensure that Port 3306 is opened on the server which is running the MySQL server.

I can suggest you some simple steps to try,
- Using CLI on the database server, Enter in MySQL database.
- Verify if the admin user already exists on the server.
- If the user doesn't exist then create and otherwise skip it.
- Now you can run the mentioned queries,

MYSQL_LIN: mysql> GRANT all ON . to admin@’plesk_server_IP’;
mysql> FLUSH PRIVILEGES;

Now do not forget to replace Username and passwords with actual Admin’s and Plesk server IP with Actual IP addresses.
 
Back
Top