I. OverviewThis article provides a deployment document that installs MARIADB on Ubuntu 14.04.MARIADB is a popular version of the MySQL database, and can also be seen as a branch of MySQL, mainly by the open source community responsible for maintenance. MARIADB uses GPL license. MAR
MARIADB is an open source database and 100% is compatible with MySQL, with the goal of replacing the MySQL database.Background of MARIADB:In 2008, MySQL was acquired by Sun Microsystems , which was later acquired by Oracle in 2010. The initial takeover by Sun was hailed by the MySQL community for meeting the needs of the project, but this sentiment did not last long, and the next Oracle takeover was expected to fall far short of expectations. Many MyS
Tags: mariadb installRecently in an attempt to deploy OpenStack based on Ubuntu 16.04.1 LTS Server, I encountered mariadb unable to link properly during the deployment process.ProblemRefer to OpenStack official documentation to install MARIADB and encounter an issue that can
LEMP is abbreviated to represent a set of software packages (l:linux Os,e:nginx network server, M:MYSQL/MARIADB database and p:php service-side dynamic programming language), which is used to build dynamic Web applications and Web pages.
(LCTT: Why use LEMP instead of LNMP abbreviations?) According to Https://lemp.io/'s explanation: Nginx pronunciation is engine-x, important pronunciation rather than initials, and lemp is actually readable, and lnmp
The installation method described in this article is practical in the software environment, can not be guaranteed to use in other versions, please refer to their actual situation to adjust the installation method and parameters.OS version: Ubuntu Server 14.04 LTS 64bitTo install MariaDB version: MariaDB 5.5.39Preparato
Tags: Mariadb ubunutThe MARIADB website provides repositoryhttps://downloads.mariadb.org/mariadb/repositories/#mirror =tunaHere you can find the installation methods of various systems, here only for Ubuntu 16.04 lts explanation.Add keysudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74
Tags: linux mysql[Email protected]:/opt# MKDIR/MYDATA/DATA-PV[Email protected]:/opt# groupadd-r MySQL[Email protected]:/opt# useradd-g mysql-r-s/sbin/nologin-m-d/mydata/data MySQL-R,--system create a System account-S,--shell Shell login shell for new account-M, --no-create-home does not create a user's home directory-D,--home-dir home_dir the home directory of the new account-G, the name or ID of the--gid group's new account owner[Email protected]:/# chown-r Mysql:mysql/mydata/data[Email prot
and write separation of MariaDB proxy http://www.linuxidc.com/Linux/2014-05/101306.htm Linux compiler installation Configuration mariadb database method http://www.linuxidc.com/Linux/2014-11/109049.htm The CentOS system uses Yum to install the MARIADB database http://www.linuxidc.com/Linux/2014-11/109048.htm
/mysql/charsets/|+ -------------------------- + ---------------------------- +8 rows in set (0.00 sec)
+ ---------------------- + ----------------- +| Variable_name | Value |+ ---------------------- + ----------------- +| Collation_connection | utf8_unicode_ci || Collation_database | utf8_unicode_ci || Collation_server | utf8_unicode_ci |+ ---------------------- + ----------------- +3 rows in set (0.00 sec)
Character Set Configuration is complete.
3. Add users and Set permissions
Create USER co
Tutorial: How to check the MARIADB server version http://www.linuxidc.com/Linux/2015-08/122382.htmRealization of Read and write separation of MariaDB proxy http://www.linuxidc.com/Linux/2014-05/101306.htmLinux compiler installation Configuration mariadb database method http://www.linuxidc.com/Linux/2014-11/109049.htmThe CentOS system uses Yum to
, User, Password from user; // check whether all users whose passwords are empty have been deleted.MariaDB [mysql]> exit;
Set a firewall so that other servers in the LAN can accessVi/etc/sysconfig/iptables
-A input-m state -- state NEW-m tcp-p tcp -- dport 3309-j ACCEPT
/Etc/init. d/iptables restart
Linux Tutorial: How to check the MariaDB server version
Implementation of MariaDB Proxy read/write splitting
Install MariaDB in RHEL 7 and mariadb in rhel 7
Start with RedHat Enterprise Linux 7, and the self-contained database on the system disk is MariaDB. The installation steps are as follows:
1. Mount the installation disk image:Mount/dev/cdrom/mnt
2. Create a yum Source:Cat>/etc/yum. repos. d/d. repo
[D]
Baseurl = file:
Centos7 definition mariadb Source Yum Install the latest version of MARIADBThere are generally several ways to install software services under CentOS (yum, rpm IVH xxx, make Makeinstall compile and install, etc.), but relative to Yum is the simplest and easiest. We mainly introduce today, under the Centos7.3 how to use
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
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
Ubuntu Apt-get Way to install Nginx
ReferenceHttp://nginx.org/en/linux_packages.html
First of all
In order to authenticate the Nginx repository signature and to eliminate warnings about missing PGP key during N of the Nginx package, it is necessary to add the key used to sign the Nginx packages and repository to the APT program K Eyring.
Download key
wget Http://nginx.org/keys/nginx_signing.key
And then
insensitive
Vi/etc/my. cnf. d/server. cnf
Add it under [mysqld]
Lower_case_table_names = 1
The default value is 0, which is case sensitive. Change to 1 and then OK. If you have already created a database, you must delete it before it takes effect.
Step 7: Set the default encoding of the MariaDB Database
MariaDB's default encoding is latin1, and Chinese characters are garbled. Therefore, you need to change the encoding to utf8.
1. log on and use the f
create new databases, tables, or users.
This is our tutorial on installing and configuring MariaDB. If you have any questions or questions, refer to the comment box below.
For more MariaDB tutorials, see the following:
Install Nginx, MariaDB, and HHVM on Ubuntu 16.04 LTS 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.