diff options
-rw-r--r-- | conf/config.sh.dist | 89 |
1 files changed, 32 insertions, 57 deletions
diff --git a/conf/config.sh.dist b/conf/config.sh.dist index 0e949e0426..cb36ce2a32 100644 --- a/conf/config.sh.dist +++ b/conf/config.sh.dist @@ -38,48 +38,13 @@ CCOREPCH=ON # you can add your custom definitions here ( -D ) CCUSTOMOPTIONS="" -############################################## -# -# RUNNER CONFIGURATION -# -############################################## - -# enable/disable GDB execution -export GDB_ENABLED=0 - -# gdb file -export GDB="" - -# directory where binary are stored -export BINPATH="" - - ### Put here the pid you configured on your worldserver.conf file ### -export SERVERPID="" - -# path to conf file -export CONFIG="" - -# path of log files -export LOGS_PATH=""; - -# exec name -export SERVERBIN="" - -# name of screen service ( for restarter ) -export SCREEN_NAME="" - ############################################## # -# DB ASSEMBLER CONFIGURATIONS +# DB ASSEMBLER / EXPORTER CONFIGURATIONS # ############################################## - -# 0 if you want create an sql for each kind of following categories -# 1 to create a single big file to import ( suggested for new installations ) -ALL_IN_ONE=0 - DATABASES=( "AUTH" "CHARACTERS" @@ -93,35 +58,14 @@ DB_CHARACTERS_PATHS=( $SRCPATH"/data/sql/base/db_characters" ) -DB_CHARACTERS_NAME="characters" - -DB_CHARACTERS_CONF="MYSQL_USER='root'; \ - MYSQL_PASS='root'; \ - MYSQL_HOST='localhost';\ - " - DB_AUTH_PATHS=( $SRCPATH"/data/sql/base/db_auth/" ) -DB_AUTH_NAME="auth" - -DB_AUTH_CONF="MYSQL_USER='root'; \ - MYSQL_PASS='root'; \ - MYSQL_HOST='localhost';\ - " - DB_WORLD_PATHS=( $SRCPATH"/data/sql/base/db_world/" ) -DB_WORLD_NAME="world" - -DB_WORLD_CONF="MYSQL_USER='root'; \ - MYSQL_PASS='root'; \ - MYSQL_HOST='localhost';\ - " - # UPDATES DB_CHARACTERS_UPDATE_PATHS=( $SRCPATH"/data/sql/updates/db_characters/" @@ -147,3 +91,34 @@ DB_AUTH_CUSTOM_PATHS=( DB_WORLD_CUSTOM_PATHS=( $SRCPATH"/data/sql/custom/db_world/" ) + +############################################## +# +# DB EXPORTER/IMPORTER CONFIGURATIONS +# +############################################## + + + +DB_CHARACTERS_CONF="MYSQL_USER='root'; \ + MYSQL_PASS='root'; \ + MYSQL_HOST='localhost';\ + " + +DB_AUTH_CONF="MYSQL_USER='root'; \ + MYSQL_PASS='root'; \ + MYSQL_HOST='localhost';\ + " + + +DB_WORLD_CONF="MYSQL_USER='root'; \ + MYSQL_PASS='root'; \ + MYSQL_HOST='localhost';\ + " + + +DB_CHARACTERS_NAME="characters" + +DB_AUTH_NAME="auth" + +DB_WORLD_NAME="world" |