Fedora 27
Sponsored Link

Install phpMyAdmin2017/12/26

 
Install phpMyAdmin to operate MariaDB on web browser from Clients.
[1]
[2]
[3] Install phpMyAdmin.
[root@www ~]#
dnf -y install phpMyAdmin php-mysqlnd php-mcrypt php-php-gettext
# if you login to phpMyAdmin with root account, change settings like follows

[root@www ~]#
mysql -u root -p mysql

Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 17
Server version: 10.2.9-MariaDB MariaDB Server

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [mysql]> update user set plugin='' where user='root'; 
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

MariaDB [mysql]> flush privileges; 
Query OK, 0 rows affected (0.00 sec)

MariaDB [mysql]> exit 
Bye

[root@www ~]#
vi /etc/httpd/conf.d/phpMyAdmin.conf
# line 17: add access permission

Require ip 127.0.0.1
10.0.0.0/24
# line 34: add access permission

Require ip 127.0.0.1
10.0.0.0/24
[root@www ~]#
systemctl restart httpd

[4] Access to [http://(your hostname or IP address)/phpmyadmin/] with web browser from Clients, then Login with a user in MariaDB on following screen. This example uses root user to proceed.
[5] Just logined. You can operate MariaDB on here.
Matched Content