Change MySQL database directory

This commit is contained in:
coolneng 2020-12-17 15:57:59 +01:00
parent 8a110ba5f9
commit cfbdd40ce3
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

2
env/mysql.nix vendored
View File

@ -3,7 +3,7 @@
with pkgs; with pkgs;
let let
sql_file = "database/db.sql"; sql_file = "data/db.sql";
data_dir = "$(pwd)/.mysql"; data_dir = "$(pwd)/.mysql";
socket = "${data_dir}/mysql.sock"; socket = "${data_dir}/mysql.sock";