MARIADB ALTER USER HOST
UPDATE mysql.user SET Host='%' WHERE Host='localhost' AND User='username';
FLUSH PRIVILEGES;
The Strangest Salamander
UPDATE mysql.user SET Host='%' WHERE Host='localhost' AND User='username';
FLUSH PRIVILEGES;
CREATE USER foo2@test IDENTIFIED BY 'password';