# file KLEIDER/web/src/pinw/like_user.sql
# 2020-05-22 Herbert Schiemann <h.schiemann@herbaer.de>
# Legt den Benutzer der Datenbank "likedb" an.
# 2020-11-21 CREATE USER ... statt INSERT INTO user ...

USE mysql;

CREATE USER IF NOT EXISTS ${mysql.likedb.user}@localhost
   IDENTIFIED BY '${mysql.likedb.password}';
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON ${mysql.likedb.name}.* TO '${mysql.likedb.user}'@'localhost';

# end of file KLEIDER/web/src/pinw/like_user.sql
