cheese-shop/sql/ctl.sql

16 lines
266 B
MySQL
Raw Permalink Normal View History

2020-07-04 11:04:53 +02:00
USE mysql;
2020-07-04 18:05:06 +02:00
DROP USER IF EXISTS wensleydale@localhost;
2020-07-04 11:04:53 +02:00
CREATE USER wensleydale@localhost
IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON cheese_shop.*
2020-07-04 18:05:06 +02:00
TO wensleydale@localhost;
2020-07-04 11:04:53 +02:00
2020-07-05 17:40:31 +02:00
UPDATE user
SET plugin='mysql_native_password'
WHERE User='wensleydale';
2020-07-04 11:04:53 +02:00
FLUSH PRIVILEGES;