




<% end %>
<% if node['mysql']['remove_anonymous_users'] -%>

# Remove anonymous users
DELETE FROM mysql.user WHERE User='';
<% end %>
<% if node['mysql']['remove_test_database']  -%>

# Remove test database and access to it
DROP DATABASE IF EXISTS test;
DELETE FROM mysql.db WHERE Db='test' OR Db='test\_%';

