i was trying to set a password for a db_table in phpmyadmin
i tried inserting this below code in the "sql" tab
and unfortunately it has set the password for the rootPHP Code:SET PASSWORD FOR 'root'@'localhost' = PASSWORD('123456');
now everytime i go to localhost/phpmyadmin, i m prompted for the password.
My "config.php" doesnt show password 123456
CANT FIND WHERE IS 123456 GOT INSERTED
PHP Code:<?php
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysql';
/*
* End of servers configuration
*/
?>



Reply With Quote




Bookmarks