-- --------------------------------------------------------
-- 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
--
-- --------------------------------------------------------
--
-- Database : `phpmyadmin`
--
CREATE DATABASE IF NOT EXISTS `phpmyadmin`
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
USE phpmyadmin;
-- --------------------------------------------------------
--
-- Privileges
--
-- (activate this statement if necessary)
-- GRANT SELECT, INSERT, DELETE, UPDATE, ALTER ON `phpmyadmin`.* TO
-- 'pma'@localhost;
-- --------------------------------------------------------
--
-- Table structure for table `pma__bookmark`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__column_info`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__history`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__pdf_pages`
--
CREATE TABLE IF NOT EXISTS `pma__pdf_pages` (
`db_name` varchar(64) NOT NULL default '',
`page_nr` int(10) unsigned NOT NULL auto_increment,
`page_descr` varchar(50) COLLATE utf8_general_ci NOT NULL default '',
PRIMARY KEY (`page_nr`),
KEY `db_name` (`db_name`)
)
COMMENT='PDF relation pages for phpMyAdmin'
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-- --------------------------------------------------------
--
-- Table structure for table `pma__recent`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__favorite`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__table_uiprefs`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__relation`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__table_coords`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__table_info`
--
CREATE TABLE IF NOT EXISTS `pma__table_info` (
`db_name` varchar(64) NOT NULL default '',
`table_name` varchar(64) NOT NULL default '',
`display_field` varchar(64) NOT NULL default '',
PRIMARY KEY (`db_name`,`table_name`)
)
COMMENT='Table information for phpMyAdmin'
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-- --------------------------------------------------------
--
-- Table structure for table `pma__tracking`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__userconfig`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__users`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__usergroups`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__navigationhiding`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__savedsearches`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__central_columns`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__designer_settings`
--
-- --------------------------------------------------------
--
-- Table structure for table `pma__export_templates`
--