Fix MariaDB user config SQL

This commit is contained in:
Alex Cabal 2024-03-16 12:20:02 -05:00
parent 4b82ae394b
commit d7e3e648ef

View file

@ -1,9 +1,9 @@
create user 'alex'@'localhost' identified by unix_socket;
create user 'se'@'localhost' identified by unix_socket;
create user 'www-data'@'localhost' identified by unix_socket;
create user 'alex'@'localhost' identified via unix_socket;
create user 'se'@'localhost' identified via unix_socket;
create user 'www-data'@'localhost' identified via unix_socket;
grant * on * to alex@localhost identified via unix_socket;
grant select, insert, update, delete, execute, lock tables on se.* to se@localhost identified via unix_socket;
grant select, insert, update, delete, execute on se.* to www-data@localhost identified via unix_socket;
grant select, insert, update, delete, execute, lock tables on se.* to 'se'@'localhost' identified via unix_socket;
grant select, insert, update, delete, execute on se.* to 'www-data'@'localhost' identified via unix_socket;
flush privileges;