1
0

Ajout du support de MYSQL

This commit is contained in:
unfr
2025-06-23 14:27:18 +02:00
parent 1693e9b620
commit b0aca69596
8 changed files with 603 additions and 509 deletions

View File

@@ -2,7 +2,7 @@
#CONFIG A MODIF
URL_API="A NOUS DEMANDER SUR DISCORD"
APIKEY="A RETROUVER DANS VOTRE PROFIL"
DB_FILE="/home/$USER/autopost/base_autopost.db"
DOSSIER_GLOBAL="/home/$USER/"
DOSSIER_NFO="/home/$USER/autopost/mediainfo/"
DOSSIER_LOGS="/home/$USER/autopost/logs/"
@@ -16,5 +16,12 @@ NG_USER=""
NG_PASS=""
NG_NBR_CONN=""
dbtype="sqlite" # ou "mysql"
DB_FILE="/home/$USER/autopost/base_autopost.db"
MYSQL_HOST=""
MYSQL_PORT=
MYSQL_USER=""
MYSQL_PASS=""
MYSQL_DB=""