Jalle19 / xbmc-video-server

Web interface for streaming or downloading media from a Kodi/XBMC library
GNU General Public License v3.0
192 stars 39 forks source link

Add much better support for MySQL #323

Closed Jalle19 closed 5 years ago

Jalle19 commented 5 years ago

It should now be possible to use MySQL over SQLite without modifying the code, by setting the following environment variables:

USE_MYSQL=true
MYSQL_HOSTNAME=
MYSQL_DATABASE=
MYSQL_USERNAME=
MYSQL_PASSWORD=

The easiest way to set them is to cp .env.mysql.example .env in the project root directory. There is more information available here: https://github.com/Jalle19/xbmc-video-server/wiki/Using-MySQL-instead-of-SQLite

Closes #320