correzione ai file di initdb
This commit is contained in:
parent
ee4a3cc43d
commit
69ee74a1b9
3 changed files with 5 additions and 5 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
-- Questo script è utile per installazione manuale su MySQL locale.
|
-- Questo script è utile per installazione manuale su MySQL locale.
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
|
|
||||||
CREATE DATABASE IF NOT EXISTS esameits24-26
|
CREATE DATABASE IF NOT EXISTS `esameits24-26`
|
||||||
CHARACTER SET utf8mb4
|
CHARACTER SET utf8mb4
|
||||||
COLLATE utf8mb4_unicode_ci;
|
COLLATE utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
|
@ -19,11 +19,11 @@ CREATE USER IF NOT EXISTS 'esameits24-26_user'@'localhost'
|
||||||
IDENTIFIED BY 'altra_password_sicura';
|
IDENTIFIED BY 'altra_password_sicura';
|
||||||
|
|
||||||
GRANT SELECT, INSERT, UPDATE, DELETE
|
GRANT SELECT, INSERT, UPDATE, DELETE
|
||||||
ON esameits24-26.*
|
ON `esameits24-26.*`
|
||||||
TO 'esameits24-26_user'@'%';
|
TO 'esameits24-26_user'@'%';
|
||||||
|
|
||||||
GRANT SELECT, INSERT, UPDATE, DELETE
|
GRANT SELECT, INSERT, UPDATE, DELETE
|
||||||
ON esameits24-26.*
|
ON `esameits24-26.*`
|
||||||
TO 'esameits24-26_user'@'localhost';
|
TO 'esameits24-26_user'@'localhost';
|
||||||
|
|
||||||
FLUSH PRIVILEGES;
|
FLUSH PRIVILEGES;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
-- Allineato alle API: /utenti,
|
-- Allineato alle API: /utenti,
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
|
|
||||||
USE esameits24-26;
|
USE `esameits24-26`;
|
||||||
|
|
||||||
-- ------------------------------------------------------------
|
-- ------------------------------------------------------------
|
||||||
-- Tabella utenti (API: GET/POST/PUT/DELETE /utenti)
|
-- Tabella utenti (API: GET/POST/PUT/DELETE /utenti)
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
--
|
--
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
|
|
||||||
USE esameits24-26;
|
USE `esameits24-26`;
|
||||||
|
|
||||||
-- ------------------------------------------------------------
|
-- ------------------------------------------------------------
|
||||||
-- Utenti
|
-- Utenti
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue