vagrant-wordpress/cookbooks/wordpress/templates/default/grants.sql.erb

6 lines
309 B
Plaintext
Raw Permalink Normal View History

2011-06-12 21:15:48 +00:00
GRANT ALL ON <%= @database %>.* TO '<%= @user %>'@'%' IDENTIFIED BY '<%= @password %>';
GRANT ALL ON <%= @database %>.* TO '<%= @user %>'@'<%= node['fqdn'] %>' IDENTIFIED BY '<%= @password %>';
GRANT ALL ON <%= @database %>.* TO '<%= @user %>'@'localhost' IDENTIFIED BY '<%= @password %>';
FLUSH PRIVILEGES;