Sha256: 3d678b8afb0c754cd89a5d22ef86f330a01c665a9359da45c2d7b472ec2fcf0e

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

<% 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;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capitate-0.2.3 lib/templates/mysql/install_db.sql.erb
capitate-0.2.2 lib/templates/mysql/install_db.sql.erb
capitate-0.2.5 lib/templates/mysql/install_db.sql.erb