Issues with SQL Server Express or MySQL when using WebMatrix or WebPI
By Chris Sfanos
July 18, 2012
The following article will grow to cover issues when using SQL Server Express or MySQL and WebMatrix or WebPI (Web Platform Installer)
Issue: The SA (SQL Express) or root (MySQL) password you entered (or have stored) is not valid
Error Message: The specified password for user account 'SA'/'root' is not valid or failed to connect to the database server
Potential solutions
- The password you entered may not match the required security settings of SQL Express or MySQL. The following articles detail the password strength requirements:
- SQL Express: http://msdn.microsoft.com/en-us/library/ms161959.aspx
- MySQL: No complexity requirements
- The password that WebMatrix or WebPI has stored does not match the database you are trying to connect to
- Delete the reg key that is storing the password (hashed) and try the install again
- Delete the mysql_pwd or sql_pwd key stored at HKCU\Software\Microsoft\WebPlatformInstaller