2014-01-14 22:57:44 +01:00
|
|
|
-- --------------------------------------------------------
|
|
|
|
-- SQL Commands to set up the pmadb as described in the documentation.
|
|
|
|
--
|
|
|
|
-- This file is meant for use with MySQL 5 and above!
|
|
|
|
--
|
|
|
|
-- This script expects the user pma to already be existing. If we would put a
|
|
|
|
-- line here to create him too many users might just use this script and end
|
|
|
|
-- up with having the same password for the controluser.
|
|
|
|
--
|
|
|
|
-- This user "pma" must be defined in config.inc.php (controluser/controlpass)
|
|
|
|
--
|
|
|
|
-- Please don't forget to set up the tablenames in config.inc.php
|
|
|
|
--
|
|
|
|
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
|
2021-07-10 22:32:23 +02:00
|
|
|
DROP DATABASE `__DB_USER__`;
|
2014-01-14 22:57:44 +01:00
|
|
|
|
|
|
|
--
|
2021-07-10 22:32:23 +02:00
|
|
|
-- Database : `__DB_USER__`
|
2014-01-14 22:57:44 +01:00
|
|
|
--
|
2021-07-10 22:32:23 +02:00
|
|
|
CREATE DATABASE IF NOT EXISTS `__DB_USER__`
|
2014-01-14 22:57:44 +01:00
|
|
|
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
2021-07-10 22:32:23 +02:00
|
|
|
USE __DB_USER__;
|
2014-01-14 22:57:44 +01:00
|
|
|
|
2021-07-10 22:32:23 +02:00
|
|
|
GRANT SELECT, INSERT, DELETE, UPDATE ON `__DB_USER__`.* TO
|
|
|
|
'__DB_USER__'@localhost;
|