Sha256: 94943dc8db577c74a38fc5d086a965e927864a5b674fde66729ab6332e6685af

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

<% locations_for_grant.each do |location| %>
GRANT ALL PRIVILEGES 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.1.7 lib/templates/mysql/install_db.sql.erb
capitate-0.1.8 lib/templates/mysql/install_db.sql.erb
capitate-0.1.9 lib/templates/mysql/install_db.sql.erb