-- ########################################################
-- #
-- SQL Commands to set up the pmadb as described in #
-- Documentation.txt. #
-- #
-- 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 dont forget to set up the tablenames in #
-- config.inc.php #
-- #
-- Please note that the table names might be converted #
-- to lower case, if the MySQL option #
-- "lower_case_table_names" is enabled. By default, this #
-- is the case on Win32 machines. #
-- #
-- ########################################################
DROP DATABASE IF EXISTS `phpmyadmin` ;
CREATE DATABASE IF NOT EXISTS `phpmyadmin` ;
-- (backquotes are not supported in USE)
USE phpmyadmin;
GRANT SELECT ,
INSERT ,
DELETE ,
UPDATE ON `phpmyadmin` . * TO 'pma'@localhost ;
DROP TABLE IF EXISTS `pma_bookmark` ;
CREATE TABLE `pma_bookmark` (
`id` int( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ,
`dbase` VARCHAR( 255 ) NOT NULL ,
`user` VARCHAR( 255 ) NOT NULL ,
`label` VARCHAR( 255 ) NOT NULL ,
`query` TEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM COMMENT = 'Bookmarks';