////
//MySQL
-/*
+
//create engine: server-host, user, password
$db = new MysqlEngine("localhost","smoke","");
//set database name
-$db->setDbName("smoke");
+$db->setDbName("smoke2");
//set table-prefix (must be non-empty, leave the default if in doubt)
$db->setPrefix("smoke2_");
//set this to one of the supported MySQL storage engines for DB creation
//set default character set
// only change if your database does not support Unicode
$db->setCharacterSet("utf8");
-*/
+
////
//PostgreSQL
-
+/*
//create engine: connection string, the sub-parameters are:
// dbname - name of the database
// user - DB user that is used to log in to the DB server
$db->setPrefix("smoke2_");
//set this only if you want debug messages on error (developers only):
//$db->setDebugMode();
-
+*/
////////////
// DB Administration
$db->setAdminPassCode("Admin","SmokeInMyEye");
//use this if you want to upgrade data from an old (MagicSmoke 1.x) DB instance
-// /*
+
$olddb = new MysqlEngine("localhost","smoke","");
$olddb->setDbName("smoke");
$olddb->setPrefix("smoke_");
$olddb->setStorageEngine("InnoDB");
$olddb->setCharacterSet("utf8");
-// */
+
//done
return;
-?>
\ No newline at end of file
+?>