编程知识 cdmana.com

Installing MySQL (MariaDB) on alicloud server ECS

Alibaba cloud The server ECS install Mysql(Mariadb)

Environmental Science : Aliyun server ECS choice Centos 7.8

install Mariadb

  1. adopt ssh Tool to connect to alicloud server
  2. Check if there is Mariadb Kit

    rpm -qa | grep mariadb 
  3. Use Centos Bring their own yum Installation

    yum -y install mariadb*
  4. start-up Mariadb service

    systemctl start mariadb
  5. see Mariadb Default password

    grep 'temporary password' /var/log/mysqld.log
  6. Get into Mariadb

    mysql -u root -p

BSDJyx

  1. Authorization allows access rights and access methods

    GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY '123456' WITH GRANT OPTION;
  2. Refresh configuration takes effect

    flush privileges; 
  3. Alicloud server is configured with open ports

GZPXKH

ZLddii

dkeju3

  1. It can be done by Mysql gui Tool connection management .
This article is a platform of operation tools such as blog group sending one article and multiple sending OpenWrite Release

版权声明
本文为[ifeng]所创,转载请带上原文链接,感谢

Scroll to Top