Sha256: d994c771e238490bfe1aa46ea6e7da64687c34e7499bc5033bc2f778cd3f3654

Contents?: true

Size: 246 Bytes

Versions: 14

Compression:

Stored size: 246 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

14 entries across 14 versions & 2 rubygems

Version Path
calas-capitate-0.3.6 lib/templates/mysql/install_db.sql.erb
capitate-0.2.14 lib/templates/mysql/install_db.sql.erb
capitate-0.2.15 lib/templates/mysql/install_db.sql.erb
capitate-0.2.13 lib/templates/mysql/install_db.sql.erb
capitate-0.2.11 lib/templates/mysql/install_db.sql.erb
capitate-0.3.1 lib/templates/mysql/install_db.sql.erb
capitate-0.3.2 lib/templates/mysql/install_db.sql.erb
capitate-0.3.5 lib/templates/mysql/install_db.sql.erb
capitate-0.2.7 lib/templates/mysql/install_db.sql.erb
capitate-0.2.6 lib/templates/mysql/install_db.sql.erb
capitate-0.3.3 lib/templates/mysql/install_db.sql.erb
capitate-0.3.4 lib/templates/mysql/install_db.sql.erb
capitate-0.3.6 lib/templates/mysql/install_db.sql.erb
capitate-0.2.8 lib/templates/mysql/install_db.sql.erb