Please check your "includes/var_definition.php" file. Variable $db_name should contain a valid database name, e.g. $db_name = "mydb_1"; Run your MySQL client and perform "SHOW DATABASES" command and make sure that the database you chosen for ViArt Shop does exist.