User Tools

Site Tools


database:mysql:phpmyadmin

phpMyAdmin

Go to the offical wiki for information about the installation : http://wiki.cihar.com/pma/Quick_Install

Quick installation howto

  • Download source and put it on a VirtualHost (name it phpMyAdmin a.e.)
  • create a config.inc.php in the root folder (in phpMyAdmin)

config.inc.php example for two servers on the same host configured with sockets

<?php
/* Servers configuration */
$i = 0;
 
/* Server localhost (cookie) [1] */
$i++;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['socket'] = '/usr/local/mysql/var/mysql.socket';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
 
/* Server localhost (cookie) [2] */
$i++;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['socket'] = '/usr/local/mysql5/var/mysql.socket';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
 
/* End of servers configuration */
 
$cfg['blowfish_secret'] = '4jhjhjjhöpöölk7bde3b4.37214440';
?>
/srv/wiki.niwos.com/data/pages/database/mysql/phpmyadmin.txt · Last modified: 2009/08/15 19:22 (external edit)