summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-02-28 17:37:39 +0100
committerSimo Leone <simo@archlinux.org>2008-03-23 09:04:17 +0100
commit3577326b2b32bad2765cdacd2959dd4fea48c2f8 (patch)
tree672958d6ce79438d182e7a6329e33a420611b624 /web
parente0582fd0e2c905da312aefde7e01f9d34baa2810 (diff)
downloadaur-3577326b2b32bad2765cdacd2959dd4fea48c2f8.tar.gz
aur-3577326b2b32bad2765cdacd2959dd4fea48c2f8.tar.xz
Make all references to AUR database consistent
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/README.txt8
-rw-r--r--web/lib/config.inc.proto2
2 files changed, 5 insertions, 5 deletions
diff --git a/web/README.txt b/web/README.txt
index 09a0c286..1c4dfa5f 100644
--- a/web/README.txt
+++ b/web/README.txt
@@ -40,14 +40,14 @@ Setup on ArchLinux:
# mysql -uroot
- Issue the following commands to the mysql client
- mysql> create database aur;
- mysql> grant all privileges on aur.* to aur@localhost
+ mysql> CREATE DATABASE AUR;
+ mysql> GRANT ALL PRIVILEGES ON AUR.* to aur@localhost
> identified by 'aur';
- mysql> flush privileges;
+ mysql> FLUSH PRIVILEGES;
mysql> quit
- Load the schema file
- # mysql -uaur -p aur < ~/aur/support/schema/aur-schema.sql
+ # mysql -uaur -p AUR < ~/aur/support/schema/aur-schema.sql
(give password 'aur' at the prompt)
- Optionally load some test data for development purposes.
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto
index b0f7615f..80eba6e5 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.proto
@@ -2,7 +2,7 @@
# NOTE: modify these variables if your MySQL setup is different
#
define( "AUR_db_host", "localhost:/tmp/mysql.sock" );
-define( "AUR_db_name", "aur" );
+define( "AUR_db_name", "AUR" );
define( "AUR_db_user", "aur" );
define( "AUR_db_pass", "aur" );