Linux installation MySQL Related

Source: Internet
Author: User

The newly installed CentOS 6.9 virtual machine

Modifying the Yum server source

cd/etc/yum.repos.d/

Rename Repo repo.bak_$ (date +%f) *

Ali's Yum Library Https://opsx.alibaba.com/mirror Open Point Help

Curl-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repo

Curl-o/etc/yum.repos.d/epel.repo Http://mirrors.aliyun.com/repo/epel-6.repo

Yum install-y tree Lrzsz ntpdate wget vim

Chkconfig--list | grep "3:on"

RPM-UVH http://repo.mysql.com/yum/mysql-5.6-community/el/6/x86_64/mysql-community-release-el6-5.noarch.rpm

mysql_install_db

Mysql_secure_installation

Vim/etc/my.cnf

>/var/log/mysqld.log

Tail-f/var/log/mysqld.log

cd/var/lib/

Chown-r Mysql:mysql MySQL

Linux installation MySQL Related

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.