lib/templates/mysql/install_db.sql.erb in capitate-0.2.5 vs lib/templates/mysql/install_db.sql.erb in capitate-0.2.6
- old
+ new
@@ -1,6 +1,5 @@
-<% mysql_grant_locations.each do |location| %>
-GRANT <%= mysql_grant_priv_type %> ON <%= db_name %>.* TO '<%= db_user %>'@'<%= location %>' IDENTIFIED BY '<%= db_pass %>';
+<% mysql_grant_locations.each do |location| %>GRANT <%= mysql_grant_priv_type %> ON <%= db_name %>.* TO '<%= db_user %>'@'<%= location %>' IDENTIFIED BY '<%= db_pass %>';
<% end %>
CREATE DATABASE IF NOT EXISTS <%= db_name %>;
FLUSH PRIVILEGES;
\ No newline at end of file