Centos7: The correct command for installing mariadb, centos7mariadb
The centos7 System of linode is used, and mariadb is used by default when mysql is installed.
However, no matter whether you use the linode official website instructions or the
Install MariaDB and MySQL
MariaDB can be used to replace enhanced MySQL versions, but MariaDB can also be installed when MySQL is installed. (This makes sense. For example, you want to migrate data from one database/application to another
Finally, I completed the login method when MariaDB and MySQL coexist. At that time, I knew that the installation was successful, that is, I could not log on to MariaDB. I would like to share my experiences with you.
Finally, I completed the login
Method for separate login when MariaDB and MySQL coexist
Finally, I completed the login method when MariaDB and MySQL coexist. At that time, I knew that the installation was successful, that is, I could not log on to MariaDB. I would like to share
First, the use of methods
1, separate MySQL modeDocker run-d \-E Timezone=asia/shanghai \-V/DATA/MARIADB-MASTER:/DATA/MARIADB \-E mysql_root_password=lookback \-P 3,306:3,306 \mariadb:10.0.212, Mariadb MASTERDocker run-d \-E Timezone=asia/shanghai \
Mysqldump backup description mysqldump is a utility used by mysql to store databases. It mainly generates an SQL script, including the CREATETABLEINSERT command required to re-create a database from scratch, and is suitable for backing up databases
The server/client installation package for MySQL is available in CentOS 6 or earlier versions, but CentOS 7 has used MariaDB instead of the default MySQL. MARIADB database management System is a branch of MySQL, mainly by the open source community
MariaDB Galera Cluster deployment (how to quickly deploy MariaDB Cluster)
MariaDB, as a branch of Mysql, is widely used in open-source projects, such as the Popular openstack. To ensure the high availability of services and improve the load capacity
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.