vagrant-wordpress/cookbooks/wordpress/templates/default/grants.sql.erb
2011-06-12 14:15:48 -07:00

6 lines
309 B
Plaintext

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;