CentOS 7 installing mysql8

Time:2021-9-13
  1. Download the corresponding RPM from the official website
    CentOS 7 installing mysql8

CentOS 7 installing mysql8

  1. Local installation
    yum localinstall mysql80-community-release-el7-3.noarch.rpm
  2. Install server
    yum install mysql-community-server -y
  3. Modify password (uppercase and lowercase characters, 8 digits)
    ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘[email protected]’;
  4. remote access
    CREATE USER ‘root’@’%’ IDENTIFIED BY ‘PASSWORD’;
    GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ WITH GRANT OPTION;
    FLUSH PRIVILEGES;

Recommended Today

Java Engineer Interview Questions

The content covers: Java, mybatis, zookeeper, Dubbo, elasticsearch, memcached, redis, mysql, spring, spring boot, springcloud, rabbitmq, Kafka, Linux, etcMybatis interview questions1. What is mybatis?1. Mybatis is a semi ORM (object relational mapping) framework. It encapsulates JDBC internally. During development, you only need to pay attention to the SQL statement itself, and you don’t need to […]