Article ID: 116467, created on Jul 17, 2013, last review on Nov 6, 2014

  • Applies to:
  • Plesk Automation 11.5
  • 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.

Search Words


log in failed for user

database connection

Get database server version failed: Login failed for user 'admin-sys'. (Error code 1)

database error

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 514af229ae32522202a910a2649c80fb 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079 46a8e394d6fa13134808921036a34da8

Email subscription for changes to this article
Save as PDF