mariadb/mysql-test/include/delete_anonymous_users.inc

6 lines
172 B
PHP
Raw Normal View History

# Remove anonymous users added by add_anonymous_users.inc
disable_query_log;
DELETE FROM mysql.user where host='localhost' and user='';
FLUSH PRIVILEGES;
enable_query_log;