I have installed xampp 5.6.14 on windows. I open phpmyadmin http://localhost/phpmyadmin/
but warning
! The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why. Or alternately go to 'Operations' tab of any database to set it up there.
! You are connected as 'root' with no password, which corresponds to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'.
How to solve it?
UPDATE: I see my issue in PMA Database ... not OK in phpMyAdmin upgrade but i don't understand. When I create database with contents in "create_tables.sql" by sql query in phpmyadmin but it's error
CREATE TABLE IF NOT EXISTS `pma_users` (
`username` varchar(64) NOT NULL,
`usergroup` varchar(64) NOT NULL,
PRIMARY KEY (`username`,`usergroup`)
)
COMMENT='Users and their assignments to user groups'
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
CREATE TABLE IF NOT EXISTS `pma_usergroups` (
`usergroup` varchar(64) NOT NULL,
`tab` varchar(64) NOT NULL,
`allowed` enum('Y','N') NOT NULL DEFAULT 'N',
PRIMARY KEY (`usergroup`,`tab`,`allowed`)
)
COMMENT='User groups with configured menu items'
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
CREATE TABLE IF NOT EXISTS `pma_navigationhiding` (
`username` varchar(64) NOT NULL,
`item_name` varchar(64) NOT NULL,
`item_type` varchar(64) NOT NULL,
`db_name` varchar(64) NOT NULL,
`table_name` varchar(64) NOT NULL,
PRIMARY KEY (`username`,`item_name`,`item_type`,`db_name`,`table_name`)
)
COMMENT='Hidden items of navigation tree'
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
Error
SQL query:
CREATE TABLE IF NOT EXISTS
pma_users
(username
varchar(64) NOT NULL,usergroup
varchar(64) NOT NULL, PRIMARY KEY (username
,usergroup
) ) COMMENT='Users and their assignments to user groups' DEFAULT CHARACTER SET utf8 COLLATE utf8_binMySQL said: Documentation
1046 - No database selected
resolving configuration storage problem in xampp in windows :
go to import tab in localhost/phpmyadmin and
browse xampp\phpMyAdmin\sql folder and select create_tables.sql and
then click go button
now phpmyadmin db added to your db list
now we must create user account for this db :
users tab and click add user
name : pma
password : pmapass
and click go
for privilege of this user create a file : pma_privileges.sql
with this content :
and import it by import tab
now we create db and user with privilege so now
we must add them to config.inc.php file in xampp\phpMyAdmin folder
so add these :
now restart the mysql and browser and the configuration storage error disappear and
columns after comment in creating table are visible
The officially distributed
create_tables.sql
script includes a line to create and use the 'phpmyadmin' database, so perhaps XAMPP changes things.Note that I don't use XAMPP and I expected that their installer would have set this all up for you, so there may be something wrong there that should be fixed in a more proper way, but one possible solution might be to download the official phpMyAdmin version of
create_tables.sql
and use that, or you could just add the following line at the top of your sql file:First in phpMyAdmin go to users -> search the user "root" and host "localhost". then select option -> edit privileges after that go to -> change password set your password for root there.
then go to xampp folder -> phpmyadmin -> config.inc.php change config to cookie. and password to your new password.
$cfg['Servers'][$i]['auth_type'] = 'config'; ----> cookie $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = ''; -----> new password(what you set for user root)