




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

# Remove anonymous users
DELETE FROM mysql.user WHERE User='';
<% end %>

# Remove test database and access to it
<% if node['mysql']['remove_test_database']  -%>
DROP DATABASE IF EXISTS test;
DELETE FROM mysql.db WHERE Db='test' OR Db='test\_%';


<% end -%>
