ChangeSet ID: 30884 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/01/17 20:25:14
Modified files: . : README
Log message: Chris Morgan cmorgan@alum.wpi.edu Improve setup instructions to remind the user about mysql user and permissions that must be set so the appdb works properly
Patch: http://cvs.winehq.org/patch.py?id=30884
Old revision New revision Changes Path 1.9 1.10 +9 -0 appdb/README
Index: appdb/README diff -u -p appdb/README:1.9 appdb/README:1.10 --- appdb/README:1.9 18 Jan 2007 2:25:14 -0000 +++ appdb/README 18 Jan 2007 2:25:14 -0000 @@ -21,8 +21,17 @@ To install locally for testing/hacking: used in the table creation step below is "apidb", you'll have to modify these files if you change this in config.php
+# NOTE: if you've changed the name of the database by changing the define of + 'APPS_DB' in include/config.php you'll have to modify the 'create database' and 'use' + entries in pretty much every file in the /tables/ directory. The recommendation is to + leave the default value of APPS_DB to keep things simple # cd tables, run ./create_tables to create the database tables
+# Look in include/config.php at the 'APPS_DBUSER' and 'APPS_DBPASS' defines. + Ensure that this user and password exist in your mysql users list and that this user + has been granted 'SELECT', 'INSERT', 'UPDATE' and 'DELETE' privileges on the database + defined by the value of 'APPS_DB' in include/config.php + # Try to open up localhost/appdb, if you get a directory listing Edit your /etc/apache/httpd.conf "DirectoryIndex" to include index.php so apache will open index.php after not finding index.html/index.htm etc