Add appdb/tables/create_tables script to run the sql necessary to create and

setup appdb tables.  Add app_category.sql and session_list.sql from Jeremy,
without these the database wasn't handling logins correctly and had no
categories.  README now has some instructions on how to setup a local appdb.
Modified config.php.sample to point to apidb to match what is in the sql in
appdb/tables.  Sql for table creation to use "if exists" to prevent data
base errors on trying to drop tables that don't exist.
This commit is contained in:
Chris Morgan
2004-03-24 15:51:49 +00:00
committed by Jeremy Newman
parent 8eb8482819
commit 89e7284f34
7 changed files with 50 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ $apidb_debug = 0; //turns debugging on/off
$apidb_dbuser = "wineowner";
$apidb_dbpass = "lemonade";
$apidb_dbhost = "localhost";
$apidb_db = "winehq_appdb";
$apidb_db = "apidb";
/*
@@ -22,6 +22,6 @@ $apidb_db = "winehq_appdb";
$userdb_dbuser = "wineowner";
$userdb_dbpass = "lemonade";
$userdb_dbhost = "localhost";
$userdb_db = "winehq_appdb";
$userdb_db = "apidb";
?>