Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | nixos/mysql: minor cleanup and formatting | Aaron Andersen | 2021-12-22 |
| | |||
* | nixos/mysql: remove services.mysql.bind and services.mysql.port in favor of ↵ | Aaron Andersen | 2021-12-22 |
| | | | | services.mysql.settings | ||
* | nixos/mysql: remove services.mysql.extraOptions in favor of ↵ | Aaron Andersen | 2021-12-18 |
| | | | | services.mysql.settings | ||
* | nixos/mysql: update user and group descriptions | Aaron Andersen | 2021-12-18 |
| | |||
* | nixos/mysql: use systemd StateDirectory to provision the data directory | Aaron Andersen | 2021-12-18 |
| | |||
* | nixos/doc: clean up defaults and examples | Naïm Favier | 2021-10-04 |
| | |||
* | nixos/mysql: use `port` type | Daniel Nagy | 2021-06-18 |
| | |||
* | treewide: Fix mysql alias deprecation breakage | talyz | 2021-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 recovery | Aaron Andersen | 2021-02-17 |
| | |||
* | nixos/mysql: move ExecStartPost into postStart | Aaron Andersen | 2020-08-13 |
| | |||
* | nixos/mysql: run ExecStartPost as an unprivileged user | Aaron Andersen | 2020-08-12 |
| | |||
* | nixos/mysql: cleanup some descriptions | Aaron Andersen | 2020-08-12 |
| | |||
* | nixos/mysql: loosen mariadb check | Aaron Andersen | 2020-08-12 |
| | |||
* | nixos/mysql: add group option | Aaron Andersen | 2020-08-12 |
| | |||
* | nixos/mysql: remove variable with confusing name | Aaron Andersen | 2020-08-11 |
| | |||
* | nixos/mysql: fix init databases on first start in sandbox mode | Izorkin | 2020-06-10 |
| | |||
* | nixos/mysql: update tmpfiles rules | Izorkin | 2020-06-10 |
| | |||
* | nixos/mysql: enable sandbox mode | Izorkin | 2020-06-10 |
| | |||
* | Merge pull request #87812 from joachimschmidt557/mysql-enable-option | Michele Guerini Rocco | 2020-05-28 |
|\ | | | | | nixos/mysql: refactor enable option | ||
| * | nixos/mysql: refactor enable option | joachimschmidt557 | 2020-05-14 |
| | | |||
* | | nixos/mysql-replication: ignore system databases in binary log | Izorkin | 2020-05-14 |
| | | |||
* | | nixos/mysql: disable load pluginx auth_socket in mariadb | Izorkin | 2020-05-14 |
|/ | |||
* | nixos/mysql: fix service so it works with mysql80 package | Aaron Andersen | 2020-03-20 |
| | |||
* | nixos/mysql: add settings and configFile options | Aaron Andersen | 2020-03-10 |
| | |||
* | nixos/mysql: restart systemd service on abort | Aaron Andersen | 2020-01-06 |
| | |||
* | nixos/treewide: Move rename.nix imports to their respective modules | Silvan Mosberger | 2019-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-support | John Ericson | 2019-11-24 |
|\ | |||
| * | nixos/mysql: fix mysqlReplication test | Izorkin | 2019-10-13 |
| | | |||
* | | treewide: Get rid of most `parseDrvName` without breaking compat | John Ericson | 2019-11-24 |
|/ | | | | | That is because this commit should be merged to both master and release-19.09. | ||
* | nixos/mysql: make ExecStartPost script fail on error | Thorsten Weber | 2019-07-03 |
| | |||
* | nixos/mysql: run ExecStartPost as root (again) to preserve compatibility ↵ | Aaron Andersen | 2019-06-30 |
| | | | | with installs that have been secured | ||
* | nixos/mysql: turn ExecStartPost into a shell script and simplify code | Aaron Andersen | 2019-06-30 |
| | |||
* | nixos/mysql: drop rootPassword option | Aaron Andersen | 2019-06-25 |
| | |||
* | nixos/mysql: drop services.mysql.pidDir | Florian Klink | 2019-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 group | Florian Klink | 2019-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 variables | Florian Klink | 2019-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 pidDir | Florian Klink | 2019-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 option | Florian Jacob | 2019-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 schema | Florian Jacob | 2019-04-01 |
| | | | | and increase test coverage to catch this | ||
* | nixos/mysql: specify option types | Florian Jacob | 2019-03-15 |
| | |||
* | Merge pull request #54475 from Izorkin/mysql-restartTrigger | Silvan Mosberger | 2019-01-29 |
|\ | | | | | mysql: add restartTrigger for my.cnf | ||
| * | mysql: add restartTrigger for my.cnf | Izorkin | 2019-01-22 |
| | | |||
* | | nixos/mysql: Support bootstrapping a Galera cluster | Janne 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 Stumm | 2019-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.cnf | Izorkin | 2018-12-02 |
| | |||
* | Merge pull request #49735 from pvgoran/mysql-support-mysql57 | Linus Heckemann | 2018-11-19 |
|\ | | | | | nixos/mysql: support package=mysql57 | ||
| * | nixos/mysql: support package=mysql57 | Pavel Goran | 2018-11-18 |
| | | |||
* | | Merge pull request #49838 from dasJ/mysql-datadir | Samuel Dionne-Riel | 2018-11-16 |
|\ \ | | | | | | | nixos/mysql: Explicitly set datadir in my.cnf | ||
| * | | nixos/mysql: Explicitly set datadir in my.cnf | Janne 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 formatting | Ryan Mulligan | 2018-11-15 |
|/ | | | | closes #50441 |