Files

6 lines
284 B
SQL

-- Creates the database and the user the application expects. Run as a MySQL administrator:
-- mysql -uroot -p < scripts/mysql-setup.sql
CREATE DATABASE IF NOT EXISTS library;
CREATE USER IF NOT EXISTS 'library'@'%' IDENTIFIED BY 'library';
GRANT ALL ON library.* TO 'library'@'%';