summary refs log tree commit diff
path: root/nixos/modules/services/databases/mysql.nix
Commit message (Collapse)AuthorAge
* nixos/mysql: minor cleanup and formattingAaron Andersen2021-12-22
|
* nixos/mysql: remove services.mysql.bind and services.mysql.port in favor of ↵Aaron Andersen2021-12-22
| | | | services.mysql.settings
* nixos/mysql: remove services.mysql.extraOptions in favor of ↵Aaron Andersen2021-12-18
| | | | services.mysql.settings
* nixos/mysql: update user and group descriptionsAaron Andersen2021-12-18
|
* nixos/mysql: use systemd StateDirectory to provision the data directoryAaron Andersen2021-12-18
|
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos/mysql: use `port` typeDaniel Nagy2021-06-18
|
* treewide: Fix mysql alias deprecation breakagetalyz2021-06-04
| | | | | | 62733b37b4a866cabafe1fc8bb7415240126eb0b broke evaluation in all places `pkgs.mysql` was used. Fix this by changing all occurrences to `pkgs.mariadb`.
* nixos/mysql: properly configure mariadb for galera recoveryAaron Andersen2021-02-17
|
* nixos/mysql: move ExecStartPost into postStartAaron Andersen2020-08-13
|
* nixos/mysql: run ExecStartPost as an unprivileged userAaron Andersen2020-08-12
|
* nixos/mysql: cleanup some descriptionsAaron Andersen2020-08-12
|
* nixos/mysql: loosen mariadb checkAaron Andersen2020-08-12
|
* nixos/mysql: add group optionAaron Andersen2020-08-12
|
* nixos/mysql: remove variable with confusing nameAaron Andersen2020-08-11
|
* nixos/mysql: fix init databases on first start in sandbox modeIzorkin2020-06-10
|
* nixos/mysql: update tmpfiles rulesIzorkin2020-06-10
|
* nixos/mysql: enable sandbox modeIzorkin2020-06-10
|
* Merge pull request #87812 from joachimschmidt557/mysql-enable-optionMichele Guerini Rocco2020-05-28
|\ | | | | nixos/mysql: refactor enable option
| * nixos/mysql: refactor enable optionjoachimschmidt5572020-05-14
| |
* | nixos/mysql-replication: ignore system databases in binary logIzorkin2020-05-14
| |
* | nixos/mysql: disable load pluginx auth_socket in mariadbIzorkin2020-05-14
|/
* nixos/mysql: fix service so it works with mysql80 packageAaron Andersen2020-03-20
|
* nixos/mysql: add settings and configFile optionsAaron Andersen2020-03-10
|
* nixos/mysql: restart systemd service on abortAaron Andersen2020-01-06
|
* nixos/treewide: Move rename.nix imports to their respective modulesSilvan Mosberger2019-12-10
| | | | | | | | A centralized list for these renames is not good because: - It breaks disabledModules for modules that have a rename defined - Adding/removing renames for a module means having to find them in the central file - Merge conflicts due to multiple people editing the central file
* Merge remote-tracking branch 'upstream/master' into wrapper-pname-supportJohn Ericson2019-11-24
|\
| * nixos/mysql: fix mysqlReplication testIzorkin2019-10-13
| |
* | treewide: Get rid of most `parseDrvName` without breaking compatJohn Ericson2019-11-24
|/ | | | | That is because this commit should be merged to both master and release-19.09.
* nixos/mysql: make ExecStartPost script fail on errorThorsten Weber2019-07-03
|
* nixos/mysql: run ExecStartPost as root (again) to preserve compatibility ↵Aaron Andersen2019-06-30
| | | | with installs that have been secured
* nixos/mysql: turn ExecStartPost into a shell script and simplify codeAaron Andersen2019-06-30
|
* nixos/mysql: drop rootPassword optionAaron Andersen2019-06-25
|
* nixos/mysql: drop services.mysql.pidDirFlorian Klink2019-05-31
| | | | | | | | | | | | | | | mysql already has its socket path hardcoded to to /run/mysqld/mysqld.sock. There's not much value in making the pidDir configurable, which also points to /run/mysqld by default. We only seem to use `services.mysql.pidDir` in the wordpress startup script, to wait for mysql to boot up, but we can also simply wait on the (hardcoded) socket location too. A much nicer way to accomplish that would be to properly describe a dependency on mysqld.service. This however is not easily doable, due to how the apache-httpd module was designed.
* nixos/mysql: run as mysql user and groupFlorian Klink2019-05-31
| | | | | | As we don't need to setup data directories from ExecStartPre= scripts anymore, which required root, but use systemd.tmpfiles.rules instead, everything can be run as just the mysql user.
* nixos/mysql: reformat, move logical steps into variablesFlorian Klink2019-05-31
| | | | | | define commands like "waiting for the mysql socket to appear" or "setup initial databases" in a let expression, so the main control flow becomes more readable.
* nixos/mysql: use systemd.tmpfiles to setup dataDir and pidDirFlorian Klink2019-05-31
| | | | | | We need to keep using `RuntimeDirectory=mysqld`, which translates to `/run/mysqld`, as this is used for the location of the file socket, that could differ with what is configured via `cfg.pidDir`.
* nixos/mysql: fix initialScript optionFlorian Jacob2019-04-01
| | | | | | which was wrongly specified as types.lines Prevent it from getting copied to nix store as people might use it for credentials, and make the tests cover it.
* nixos/mysql: fix support for non-specified database schemaFlorian Jacob2019-04-01
| | | | and increase test coverage to catch this
* nixos/mysql: specify option typesFlorian Jacob2019-03-15
|
* Merge pull request #54475 from Izorkin/mysql-restartTriggerSilvan Mosberger2019-01-29
|\ | | | | mysql: add restartTrigger for my.cnf
| * mysql: add restartTrigger for my.cnfIzorkin2019-01-22
| |
* | nixos/mysql: Support bootstrapping a Galera clusterJanne Heß2019-01-24
|/ | | | | | The default galera_new_cluster script tries to set this environment variable using systemctl set-environment which doesn't work if the variable is not being used in the unit file ;)
* nixos/mysql: fix option `ensureDatabases`Robin Stumm2019-01-17
| | | | | | The database name needs to be quoted in case it contains special characters so the MySQL service does not fail to start.
* mariadb: change location configuration file to /etc/my.cnfIzorkin2018-12-02
|
* Merge pull request #49735 from pvgoran/mysql-support-mysql57Linus Heckemann2018-11-19
|\ | | | | nixos/mysql: support package=mysql57
| * nixos/mysql: support package=mysql57Pavel Goran2018-11-18
| |
* | Merge pull request #49838 from dasJ/mysql-datadirSamuel Dionne-Riel2018-11-16
|\ \ | | | | | | nixos/mysql: Explicitly set datadir in my.cnf
| * | nixos/mysql: Explicitly set datadir in my.cnfJanne Heß2018-11-06
| |/ | | | | | | | | | | | | While this seems silly at first (it's already given as start parameter to mysqld), it seems like xtrabackup needs that sometimes. Without it, a Galera cluster cannot be run using the xtrabackup replication method.
* / nixos/mysql: fix ensureUsers example formattingRyan Mulligan2018-11-15
|/ | | | closes #50441