miércoles, 12 de octubre de 2016

AllowNoPassword SOLVED centos 6

Create  account for phpMyAdmin

1) mysql> CREATE USER 'admin'@'localhost' IDENTIFIED BY '01230';



Edit the configuration file and change the lines  to this


2) nano /etc/phpMyAdmin/config.inc.php


$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'admin';          // MySQL user
$cfg['Servers'][$i]['password']      = '00130';          // MySQL password ( MySQL password (only needed with 'config' auth_type)

3)  service httpd restart

No hay comentarios:

Publicar un comentario