Fedora 26
Sponsored Link

Install phpMyAdmin2017/07/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:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.1.25-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