services.mysql.initialScript
NixOS option
A file containing SQL statements to be executed on the first startup. Can be used for granting certain permissions on the database.
type: null or absolute pathDefault
declared in: nixos/modules/services/databases/mysql.nixView source on NixOS/nixpkgs →null