mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add support for configuring database with port instead of socket
Signed-off-by: Leonidas Spyropoulos <artafinde@gmail.com>
This commit is contained in:
parent
ac31f520ea
commit
64bc93926f
6 changed files with 35 additions and 11 deletions
|
@ -2,6 +2,7 @@
|
|||
backend = mysql
|
||||
host = localhost
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
;port = 3306
|
||||
name = AUR
|
||||
user = aur
|
||||
password = aur
|
||||
|
|
|
@ -9,11 +9,14 @@
|
|||
backend = sqlite
|
||||
name = YOUR_AUR_ROOT/aurweb.sqlite3
|
||||
|
||||
; Alternative MySQL configuration
|
||||
; Alternative MySQL configuration (Use either port of socket, if both defined port takes priority)
|
||||
;backend = mysql
|
||||
;name = aurweb
|
||||
;user = aur
|
||||
;password = aur
|
||||
;host = localhost
|
||||
;port = 3306
|
||||
;socket = /var/run/mysqld/mysqld.sock
|
||||
|
||||
[options]
|
||||
aurwebdir = YOUR_AUR_ROOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue