phpmyadmin在centos7中安裝
phpmyadmin簡介
phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.
步驟1 在網路中下載,安裝包這裡我們下載的是phpMyAdmin-4.4.15.10-all-languages.zip版本的。注意要與安裝的php的版本和mariadb版本相符合。
步驟2 unzip解壓縮之後,將其複製進入你設定的瀏覽器路徑中。這裡我使用預設的/var/www/html/這個路徑。
為了方便升級,建立了一個連結ln -sv phpMyAdmin-4.4.15.10-all-languages pma
步驟3 cd pma中,然後修改config.example.inc.php的檔案,把裡面的$cfg[`blowfish_secret`] =‘’在這裡寫入一段自己生成的隨機數。用命令tr -a `a-zA-Z0-9` < /dev/urandom | head -30 | md5sum
生成的隨機數加入其中。
步驟4 將config.example.inc.php改為config.inc.php
步驟5 用網路192.168.18.9/pma登陸這時候會出現The mbstring extension is missing. Please check your PHP configuration.的錯誤,這時候需要安裝一個php-mbstring的安裝包。
步驟6 因為預設密碼不可為空,所以在終端中鍵入mysql 進入mysql的命令列中,
鍵入:MariaDB [(none)]> SET PASSWORD FOR `root`@`localhost`=PASSWORD(`150370992390kd`);
MariaDB [(none)]> FLUSH PRIVILEGES
MariaDB [(none)]> exit
至此就可以用root使用者從web頁面登陸進行管理mysql資料庫了。
本文轉自 神蹟難覓 51CTO部落格,原文連結:xxxhttp://blog.51cto.com/ji123/1952453xxxx,如需轉載請自行聯絡原作者
相關文章
- Laragon 下的 PhpMyAdmin 安裝GoPHP
- 在Centos7上安裝DockerCentOSDocker
- Linux 7安裝和配置phpmyadminLinuxPHP
- centos7中使用yum安裝NGINX安裝CentOSNginx
- 在centos7上安裝mysql5.7CentOSMySql
- 在Centos7上安裝Redis6CentOSRedis
- Cnetos7編譯安裝phpMyAdmin教程。編譯PHP
- PostgreSQL tar.gz在centos7上安裝SQLCentOS
- 在centos7中安裝redis,並通過node.js操作redisCentOSRedisNode.js
- Fedora安裝phpMyAdmin(可能只有自己看得懂)PHP
- Ubuntu 20.04系統編譯安裝phpMyAdmin教程。Ubuntu編譯PHP
- 寶塔皮膚提示請先安裝phpmyadminPHP
- Centos7安裝安裝部署dockerCentOSDocker
- CentOS7安裝php、安裝MySqlCentOSPHPMySql
- CentOS7中安裝LZO壓縮程式CentOS
- centos7中aspera軟體的安裝CentOS
- 在 CentOS7 上安裝 zookeeper-3.4.9 服務CentOS
- 在Centos7上安裝圖形化桌面工具CentOS
- Docker架構及在Centos7上安裝dockerDocker架構CentOS
- Debian11系統編譯安裝phpMyAdmin教程。編譯PHP
- centos7 安裝pipCentOS
- CentOS7 安裝 MySQLCentOSMySql
- centos7安裝protobufCentOS
- 4.1 CentOS7安裝CentOS
- CentOS7安裝wpsCentOS
- VirtualBox安裝Centos7CentOS
- CentOS7 安裝NginxCentOSNginx
- CentOS7安裝OpenvswitchCentOS
- centos7 安裝rocketmqCentOSMQ
- CentOS7 安裝 dockerCentOSDocker
- centos7安裝dockerCentOSDocker
- CentOS7 安裝 memcacheCentOS
- CentOS7 安裝 libreofficeCentOS
- centos7 安裝 rcloneCentOS
- centos7安裝nginxCentOSNginx
- centos7安裝mysqlCentOSMySql
- Centos7 安裝 NginxCentOSNginx
- Centos7安裝RabbitMQCentOSMQ
- centos7安裝composerCentOS