Under CentOS7, the official MySQL RPM package is mariadb and can be viewed MARIADB package information[Email protected] ~]$RPM- qi mariadb # requires first installing the package NAME:MARIADB # Name epoch:1Version:5.5.52 # VersionRelease:1. EL7 #
FTP Service History is relatively long, but because of its appearance earlier, so the design did not take into account security issues, the development so far, the FTP service still uses the clear-text transmission protocol, but because of its
1. Start mariadbSystemctl Start mariadb2. Set Boot mariadbSystemctl Enable MARIADBFirst, change the user password, take root as an example1. Know the root password, need to modifyMethod A. Log into the database to modify
# mysql-uroot-p/*
The article introduced the Centos use Yum installation mariadb, the relevant information can refer to this article.
Description: Must first be able to link the extranet. If you cannot access directly, you can also set up the agent, please refer to:
Author: Tie
Date: January 1, December 27, 2013
For more information, see install MariaDB using YUM in Centos.
Note: First, you must be able to connect to the Internet. If you cannot directly access it, You can also set a proxy. For details, refer to:
Collated the document today to build mariadbHost or CentOS 172.16.0.200 build a second imagesmkdir./mysql-dockerfile Below is three filesDockerfile #构建mariadb-images mysqld_charset.cnf #mariadb #配置文件 The encoding format is setScript #目录内, storing
centos7.3 install MARIADB by yum modeInstall by installing a package groupYum GroupInfo mariadb mariadb-clientYum Groupinstall mariadb mariadb-clientStart the service, the first boot time is a bit longSystemctl Start mariadbSystemctl Status
1. CentOS 7.0 Version Information view
#cat/etc/redhat-release
2.
Install MARIADB#yum-y Install mariadb*3.Connect mariadbError: Error 2002 (HY000): Can ' t connect to the local MySQL server through socket '/var/lib/mysql/mysql.sock ' (2)4.solve the
Change root password1. Login as Root at the terminal (required)2. Input mysqladmin-u root-p password exThe back of the ex is the password to be set3. Enter after carriage return passwordEnter on the password, if not, enter directlyOpen Remote access
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.