Created
July 28, 2014 21:41
-
-
Save jpadams/196c808a26ff8f2cbf49 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class mydb { | |
| class { 'mysql::server': | |
| root_password => 'Pupp3tlabs!', | |
| override_options => { | |
| 'mysqld' => { 'datadir' => '/tmp/lib/mysql', 'log-error' => '/tmp/log/jeremysql.log' }, | |
| }, | |
| } | |
| mysql::db { 'mydb': | |
| user => 'myuser', | |
| password => 'Pupp3tlabs!', | |
| host => 'localhost', | |
| grant => ['SELECT', 'INSERT', 'UPDATE', 'CREATE', 'DELETE'], | |
| } | |
| } | |
| ## $ mysql --user='myuser' --password='Pupp3tlabs!' mydb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment