You are on page 1of 8

Installation phpMyAdmin 4.2.

0-beta1 documentation

http://docs.phpmyadmin.net/en/latest/setup.html

\r

/etc/phpmyadmin

webapp-config

emerge dev-db/phpmyadmin

1 sur 8

23/04/2014 19:21

Installation phpMyAdmin 4.2.0-beta1 documentation

http://docs.phpmyadmin.net/en/latest/setup.html

contrib

/etc/phpMyAdmin/

/etc/phpMyAdmin/

phpMyAdmin-x.x.x -all-languages.tar.gz

tar -xzvf phpMyAdmin_x.x.x-all-languages.tar.gz

config.inc.php

2 sur 8

23/04/2014 19:21

Installation phpMyAdmin 4.2.0-beta1 documentation

http://docs.phpmyadmin.net/en/latest/setup.html

config.inc.php config.sample.inc.php index.php libraries/config.default.php config.inc.php config.inc.php

<?php $cfg['blowfish_secret'] = 'ba17c1ec07d65003'; $i=0; $i++; $cfg['Servers'][$i]['auth_type'] ?>

// use here a value of your choice

= 'cookie';

<?php $i=0; $i++; $cfg['Servers'][$i]['user'] $cfg['Servers'][$i]['password'] $cfg['Servers'][$i]['auth_type'] ?> = 'root'; = 'cbb74bc'; // use here your password = 'config';

config.inc.php config

cd phpMyAdmin mkdir config chmod o+rw config # create directory for saving # give it world writable permissions

3 sur 8

23/04/2014 19:21

Installation phpMyAdmin 4.2.0-beta1 documentation


cp config.inc.php config/ chmod o+w config/config.inc.php

http://docs.phpmyadmin.net/en/latest/setup.html
# copy current configuration for editing # give it world writable permissions

setup/

Load

config.inc.php

config/

config/

Download

config/

mv config/config.inc.php . chmod o-rw config.inc.php rm -rf config

# move file to current directory # remove world read and write permissions # remove not needed directory

auth_type

auth_type

./libraries

./setup/lib

4 sur 8

23/04/2014 19:21

Installation phpMyAdmin 4.2.0-beta1 documentation

http://docs.phpmyadmin.net/en/latest/setup.html
robots.txt

./examples/

examples/upgrade_tables_mysql_4_1_2+.sql examples/create_tables.sql

examples/create_tables.sql config.inc.php

$cfg['Servers'][$i]['controluser'] $cfg['Servers'][$i]['controlpass']

GRANT SELECT, INSERT, UPDATE, DELETE ON <pma_db>.* TO 'pma'@'localhost' 'pmapass';

IDENTIFIED BY

config.inc.php

set_magic_quotes_runtime(0);

5 sur 8

23/04/2014 19:21

Installation phpMyAdmin 4.2.0-beta1 documentation


libraries/config.default.php

http://docs.phpmyadmin.net/en/latest/setup.html
config.inc.php

examples/upgrade_tables_mysql_4_1_2+.sql

$cfg['Servers'][$i]['controluser']

GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';

$cfg['Servers']

6 sur 8

23/04/2014 19:21

Installation phpMyAdmin 4.2.0-beta1 documentation

http://docs.phpmyadmin.net/en/latest/setup.html

config.inc.php

$cfg['AllowArbitraryServer'] mcrypt

$cfg['Servers'][$i]['auth_type']

$cfg['Servers'][$i]['SignonSession'] $cfg['Servers'][$i]['SignonURL']

$cfg['Servers'][$i]['SignonScript']

$cfg['Servers'][$i]['user']

$cfg['Servers'][$i]['password']

config.inc.php

$cfg['Servers'][$i]['AllowDeny']['order'] $cfg['Servers'][$i]['AllowDeny']['rules']

7 sur 8

23/04/2014 19:21

Installation phpMyAdmin 4.2.0-beta1 documentation


config.inc.php

http://docs.phpmyadmin.net/en/latest/setup.html

$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey.conf';

swekey.conf

/etc

examples

$cfg['Servers'][$i]['auth_swekey_config']

setup

$cfg['Servers'][$i]['AllowDeny']['rules']

$cfg['CaptchaLoginPublicKey']

$cfg['CaptchaLoginPrivateKey']

8 sur 8

23/04/2014 19:21

You might also like