mariadb/mysql-test/include/add_anonymous_users.inc

8 lines
187 B
PHP
Raw Normal View History

# Allow anonymous users to connect
disable_warnings;
disable_query_log;
INSERT INTO mysql.user (host, user) VALUES ('localhost','');
FLUSH PRIVILEGES;
enable_query_log;
enable_warnings;