mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Make all references to AUR database consistent
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
parent
e0582fd0e2
commit
3577326b2b
3 changed files with 8 additions and 8 deletions
|
@ -1,9 +1,9 @@
|
||||||
-- The MySQL database layout for the AUR. Certain data
|
-- The MySQL database layout for the AUR. Certain data
|
||||||
-- is also included such as AccountTypes, PackageLocations, etc.
|
-- is also included such as AccountTypes, PackageLocations, etc.
|
||||||
--
|
--
|
||||||
DROP DATABASE aur;
|
DROP DATABASE AUR;
|
||||||
CREATE DATABASE aur;
|
CREATE DATABASE AUR;
|
||||||
use aur;
|
USE AUR;
|
||||||
|
|
||||||
-- Define the Account Types for the AUR.
|
-- Define the Account Types for the AUR.
|
||||||
--
|
--
|
||||||
|
|
|
@ -40,14 +40,14 @@ Setup on ArchLinux:
|
||||||
# mysql -uroot
|
# mysql -uroot
|
||||||
|
|
||||||
- Issue the following commands to the mysql client
|
- Issue the following commands to the mysql client
|
||||||
mysql> create database aur;
|
mysql> CREATE DATABASE AUR;
|
||||||
mysql> grant all privileges on aur.* to aur@localhost
|
mysql> GRANT ALL PRIVILEGES ON AUR.* to aur@localhost
|
||||||
> identified by 'aur';
|
> identified by 'aur';
|
||||||
mysql> flush privileges;
|
mysql> FLUSH PRIVILEGES;
|
||||||
mysql> quit
|
mysql> quit
|
||||||
|
|
||||||
- Load the schema file
|
- 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)
|
(give password 'aur' at the prompt)
|
||||||
|
|
||||||
- Optionally load some test data for development purposes.
|
- Optionally load some test data for development purposes.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# NOTE: modify these variables if your MySQL setup is different
|
# NOTE: modify these variables if your MySQL setup is different
|
||||||
#
|
#
|
||||||
define( "AUR_db_host", "localhost:/tmp/mysql.sock" );
|
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_user", "aur" );
|
||||||
define( "AUR_db_pass", "aur" );
|
define( "AUR_db_pass", "aur" );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue