Skip to content

Commit

Permalink
Quote DB name on granting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Udo Juettner committed Aug 2, 2013
1 parent c9971d3 commit 06c84f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql/templates/default/grants.sql.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
grant all privileges on <%= @settings[:database] %>.* to root@`%` identified by '<%= node[:mysql][:server_root_password] %>';
grant all privileges on `<%= @settings[:database] %>`.* to root@`%` identified by '<%= node[:mysql][:server_root_password] %>';

0 comments on commit 06c84f9

Please sign in to comment.