Improve db path prompt when install

This commit is contained in:
Unknwon 2016-02-07 11:51:53 -05:00
parent f15a2f9b25
commit ee53204e02
7 changed files with 23 additions and 23 deletions

View file

@ -91,7 +91,7 @@ USER = root
PASSWD =
; For "postgres" only, either "disable", "require" or "verify-full"
SSL_MODE = disable
; For "sqlite3" and "tidb"
; For "sqlite3" and "tidb", use absolute path when you start as service
PATH = data/gogs.db
[admin]

View file

@ -65,7 +65,7 @@ db_name = Database Name
db_helper = Please use INNODB engine with utf8_general_ci charset for MySQL.
ssl_mode = SSL Mode
path = Path
sqlite_helper = The file path of SQLite3 or TiDB database.
sqlite_helper = The file path of SQLite3 or TiDB database. <br>Please use absolute path when you start as service.
err_empty_db_path = SQLite3 or TiDB database path cannot be empty.
err_invalid_tidb_name = TiDB database name does not allow characters "." and "-".
no_admin_and_disable_registration = You cannot disable registration without creating an admin account.