yum install phpmyadmin
nano /etc/httpd/conf.d/phpMyAdmin.conf
. . .
Require ip your_workstation_IP_address
. . .
Allow from your_workstation_IP_address
. . .
Require ip your_workstation_IP_address
. . .
Allow from your_workstation_IP_address
. . .
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'] = '100340'; // MySQL password (only needed
systemctl restart httpd.service
CREATE USER 'admin'@'localhost' IDENTIFIED BY '100340';
GRANT ALL PRIVILEGES ON *.* TO admin@localhost IDENTIFIED BY '100340';
http://server_domain_or_IP/phpMyAdmin
No hay comentarios:
Publicar un comentario