Configure phpMyAdmin to login automagicly without prompted for username and password
Do you need to configure phpMyAdmin to login automagicly without prompted for username and password? I needed two hours to get it works, do not spend so much time and just follow steps below:
1. Download PhpMyAdmin
2. unzip phpmyadmin
3. create a file named "config.inc.php" with following content and replace login information with yours
<?php /* * Generated configuration file * Generated by: phpMyAdmin 3.3.2 setup script by Piotr Przybylski * Date: Thu, 29 Apr 2010 11:20:23 +0200 */ /* Servers configuration */ $i = 0; /* Server: localhost [1] */ $i++; $cfg['Servers'][$i]['verbose'] = ''; $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['port'] = ''; $cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'YOUR_DB_USERNAME'; $cfg['Servers'][$i]['password'] = 'YOUR_DB_PASSWORD'; $cfg['Servers'][$i]['verbose_check'] = false; $cfg['Servers'][$i]['only_db'] = array ( 0 => 'PUBLIC_DB_FOR_THIS_PMA', ); $cfg['Servers'][$i]['hide_db'] = '#MY_SECOND_HIDDEN_COMPANIES_DB#i'; /* End of servers configuration */ $cfg['DefaultLang'] = 'en-utf-8'; $cfg['ServerDefault'] = 1; $cfg['blowfish_secret'] = '"4bd94c36753d6ee2.2987282742'; $cfg['UploadDir'] = ''; $cfg['SaveDir'] = ''; ?>
Similar entries
- Google Apps Email - Updating Google servers
- Filezilla and plain-text clear, unsecure password storage
- Server Benchmark with PHP 5 : ThePlanet, Hosteurope, Hetzner
- #1045 Cannot log in to the MySQL server (PhpMyAdmin 2.4.8)
- Magento admin login issue {{base_url}} is not recommended
- Howto protect admin.php / login.php with htaccess password
- Replace string in big database or large text file
- web development tool Firebug for Firefox
- Backup all MySQL databases automagicly with the PHP admin script
- Page generation time and http-referers with PHP
- how update a View with phpMyAdmin
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- PHP code examples for beginners
- Import big SQL Files under WAMP or LAMP ?
- How to select a secure password for your online logins
- #2006 - MySQL server has gone away
- Best CMS and Web 2.0 Software in PHP-MySQL
- Mysql Dump import export restore
- Mysql auto_increment lower than highest ID
- Very simple and short PHP-Shell script

Comments
Post new comment