based on the below script - My mysql instance has a password of foo
already. I want this script to use my root password to create a new db
and assign a user with privileges to that db.
What is wrong with this code? Is this trying to SET the root pass vs just
using it to execute the commands?
the way this is it throws the error "Access denied for user
'root'@'localhost' (using password: NO)"
any help greatly appreciated
class {'mysql::server':
root_password => 'foo',
}
#creates a sample db with user with correct permissions -spade
mysql::db { $dbName:
user => $dbUser,
password => $dbPass,
host => 'localhost',
grant => ['SELECT', 'INSERT', 'UPDATE',
'CREATE', 'DELETE'],
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/c11bfb37-2621-4662-9a1e-ece61c8023fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.