Phpmyadmin Setup

Step 1

Open the file xampp/phpMyAdmin/config.inc.php.

Step 2

Next, we need to add the following options to the end of this file:


$i++;

$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'SEE_LASTPASS';
$cfg['Servers'][$i]['password'] = 'SEE_LASTPASS';
$cfg['Servers'][$i]['host'] = 'SEE_LASTPASS';

This should go AFTER the existing configuration settings but BEFORE the following lines:

/*
 * End of servers configuration
 */

?>

So, just to clarify:

<?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'] = 'config';
... EXISTING CONFIGURATION

!!! NEW CONFIGURATION GOES HERE !!!

/*
 * End of servers configuration
 */

?>

Step 3

If you notice, many of the configuration values are missing in what was added above.

For all the values that have been changed to 'SEE_LASTPASS', you can find them in the Shared-Developers folder in LastPass under that phpMyAdmin Configuration.

Once you have added those values, you can proceed to the next page of this article.