Skip to content

sanicheev/MySQL-LWRP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL LWRP

Creates DB test1. Settings are read from /root/.my.cnf file:

mysql_database "test1"

Creates User test1 at host 10.10.10.10, with pass : test123 and grants all privileges with grant option:

mysql_user "test1" do
  host "10.10.10.10"
  pass "test123"
  grant_option true
  privilege [all]
end

Also this LWRP does some general security setups. Like: removing test databases, removing users with no passwords, and remove anonymous user.

About

MySQL lwrp cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages