Article ID: 127862, created on Dec 25, 2015, last review on Dec 25, 2015

  • Applies to:
  • Plesk 12.0 for Windows
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows


I encounter the following error when I visit my website:

Cannot open database "mydatabase_name" requested by the login. The login failed.
Login failed for user 'qwerty'


  1. If the connection to database is managed though the web.config file in the site's document root (D:\inetpub\vhosts\domain.test\httpdocs), find the section connectionStrings in web.config:

         <add name="QweConnectionString" connectionString="Server=\MSSQLSERVER2008;
                        Database=mydatabase_name;Uid=qwerty;Password=1qazXSW@" />
  2. Set the password of the database user through the Parallels Plesk interface (at Websites & Domains > Databases > Users > username) to the same value as in web.config.


The database user cannot connect to the database due to an incorrect password.

514af229ae32522202a910a2649c80fb 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128 46a8e394d6fa13134808921036a34da8 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF