Today, we need to install a database named MariaDB in windows because of our work. I am not familiar with this database, So Baidu has found two methods. Let's share the following.
Method 1: It looks simple, but it is not installed successfully.
1. Download MariaDB from the official websiteAddress: https://downloads.mariadb.org/
Ii. Installation1. decompress the p
name, if not change mariadb at the start will be errorStart MARIADB[[email protected] mariadb]#/etc/init.d/mariadb startInstalling ApacheFirst, we'll download the Apache source package.We can go to Apache official website www.apache.org
Tags: binary app ppa INI process service default 0.00 AnonymousLong-standing space environment configuration forget almost, today Hollow finishing, reset the disk to rebuild the environment, first installed in CentOS 7.0 MARIADB database, here to record the installation process for later review.1, installation mariadbInstallation commandsYum-y Install mariadb Mariadb
Label:Long-standing space environment configuration forget almost, today Hollow finishing, reset the disk to rebuild the environment, first install the MARIADB database, here to record the installation process for later review. 1, installation mariadb Installation commands yum-y Install mariadb mariadb-server Installat
Tags: mysql mariadb PXC galeraFirst, Background introductionEither Binlog or Gtid, the essence of which is in the form of I/o_thread and Sql_thread synchronization, because the replication delay can not avoid the criticism, based on the MARIADB introduced Galera cluster to solve the problem.Second, Galera cluster introductionGalera cluster and traditional replication methods, not through I/o_thread and Sql_
Tags: ant current value Lin Create compile users restart base1, installation mariadb Installation commands Yum-y Install mariadb Mariadb-server Installation Complete mariadb, first start mariadb, two commands can be Systemctl Start maria
CentOS 7.0 use yum to install simple configuration of MariaDB and MariaDB
I forgot about the environment configuration of the space that has been idle for a long time. I have to leave it empty today and reset the disk to re-build the environment. First, install the MariaDB database in CentOS 7.0, and record the installation process here, for later viewing.
1. Ins
MariaDB command introduction and MariaDB architecture and Index
Mariadb> show global variables; global variables affect GLOBAL operations on the server.
Mariadb> SHOW [SESSION] VARIABLES; client variable, effective only for the current SESSION
Note: Some of these parameters can be modified at run time and will take eff
Project migration from MYSQL to MARIADB tutorial, mysql migration mariadb
Prepare the database (MySQL). If MySQL already exists, ignore it.
build MySQL table;
Connect to MySQL;
mysql -u root -p
Create a data table;
mysql> create database demo;mysql> use demo;mysql> create table pet(name varchar(30), owner varchar(30), species varchar(20), sex char(1));
Add data table content;
mysql> insert into pet values('
MARIADB Introduction
MARIADB database management System is a branch of MySQL, mainly by the open source community in the maintenance, the use of GPL licensed license MARIADB is fully compatible with MySQL, including APIs and command line, so that it can easily become a replacement for MySQL. On the storage engine side, use XTRADB (English: xtradb) to replace the
Tags: MariaDB ApacheFirst, MARIADB installationMARIADB is an open source branch of MySQL, mainly community maintenance, and fully compatible with MySQL, and can be easily known as the replacement of MySQL, Mariadb is born out of MySQL founder Michael Widenius Hand, The name came from his daughter, Maria, because he sold MySQL to Sun and Sun was acquired by Oracle
The following is a look at mariadb multi-source replication (mariadb Multi-master replication) example, I hope to help you.MARIADB multi-source Replication (mariadb Multi-master replication)A multi-master replication feature was added to the mariadb-10.0.Modified syntax:For each replication thread there is a correspond
configuration take effect.
3. Disable SELINUX
Vi/etc/selinux/config# SELINUX = enforcing # comment out# SELINUXTYPE = targeted # comment outSELINUX = disabled # Add: Wq! # Save and exitShutdown-r now # restart the system
Iv. system conventions
Location of MariaDB installation package:/usr/local/srcMariaDB compilation and installation location:/usr/local/mysql
5. download the software package
1.
1, installation mariadbInstallation commandsYum-y Install mariadb Mariadb-serverInstallation Complete mariadb, first start mariadbSystemctl Start mariadbSet boot upSystemctl Enable MARIADBThe following is a simple configuration of mariadbMysql_secure_installationThe first is to set the password, you will be prompted to enter the passwordEnter current password to
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.