My store used Cubecart 3.0.1 and it worked fine. I uploaded ver. 3.0.2 on the server for upgrading. But when I run the script upgrade.php. It shows

QUOTE
MySQL Error Occured
1046: No database selected


Any help please??