Created
February 24, 2017 02:53
-
-
Save greyson/ccf69409524df8810990c115c65881f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql_install_db: [ERROR] unknown variable 'pid-file=/run/mysqld/mysqld.pid' | |
configuration.nix: | |
services.mysql = { | |
enable = true; | |
package = pkgs.mysql57; | |
initialDatabases = [ | |
{ name = "akron"; schema = ./akron.sql; } | |
]; | |
/* | |
initialScript = '' | |
GRANT ALL ON akron.* TO ${dbusername}@localhost | |
IDENTIFIED BY '${dbpassword}'; | |
''; | |
*/ | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment