After upgrading MySQL server from 5.1 to 5.5 CWP stopped working.
Its giving me following error.
Could not select database root_cwp
you should check that you have NOT deleted all mysql databases and that you are using user that has access to databases.
This could help if you have changed mysql password
sh /scripts/mysql_pwd_reset