MySQL and phpadmin installation

Source: Internet
Author: User
Tags php error phpmyadmin

1 MySQL Installation

RHEL7 after the default database is MARIADB, if you want to install MySQL must go to the MySQL official website download the corresponding Yun installation source RPM package

http://dev.mysql.com/downloads/repo/yum/

Then yum install MySQL Mysql-server

After installation, add MySQL to boot systemctl enable Mysqld.service

2mysql Configuration

Enter the mysql_secure_installation command to configure your root account password, the start password is empty, it is recommended to remove the anonymous user, keep the test database, and reload the permissions table to refresh the permissions.

3.phpmyadmin Installation

Go to phpmyadmin official website to download the package, extract to the specified directory, configure the directory as a virtual directory or configure a virtual host separately

Problems encountered during installation of phpMyAdmin

1.php Error opening/etc/php.ini display_errors = On

2.php mbstring, MySQL installation yum install php-mbstring Php-mysql php-pdo

3. Session problem, if you server process user does not have the Session Directory permissions need to set (read and write execution permissions), if you use PHP-FPM set the Session directory in the php-fpm.d/www.conf file.

Reference:

Http://www.laozhe.net/302.html

MySQL and phpadmin installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.