Update to MySQL 8.

This commit is contained in:
Paulo Gustavo Veiga
2024-02-16 22:49:33 -08:00
parent b13748d47d
commit 83e080d677
2 changed files with 139 additions and 2 deletions

View File

@@ -1 +1,12 @@
#
#
# Command: mysql -u root -p < create-database.sql
#
DROP DATABASE IF EXISTS wisemapping;
CREATE DATABASE IF NOT EXISTS wisemapping
CHARACTER SET = 'utf8'
COLLATE = 'utf8_unicode_ci';
CREATE USER 'wisemapping'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON wisemapping.* TO 'wisemapping'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;