MySQL is a popular cross-platform database management system, often and PHP, Apache/nginx form a Web services platform. The MySQL company was first acquired by Sun, and Sun was acquired by Oracle, giving the open source community a hard hit. Because Oracle is a database startup, it is impossible to benefit from this open source competitor, and MySQL has more and more closed source sounds. MySQL author Michael Widenius himself founded the new company Monty Program AB, a new
referred to the official website, and generated from the official network, set up the installation of the source warehouse specific address is:
https://downloads.mariadb.org/mariadb/repositories/
After you select the operating system version, you can view it, and other operating system installation sources can be viewed and set up here.
If the server does not support the HTTPS protocol, or if the Gpgkey is guaranteed to be OK, you can modify the g
want to write a simple authentication plugin, for simplicity, the client side uses "dialog" to fully satisfy the requirements. In this way, we will only write the server-side section.The server side part of the thing is to do with the client side of the "dialog" communication, read the input name number to verify. See section below for specific implementations.Third, write code 1, routines partThe routines
MariaDB Introduction
The MariaDB database management system is a branch of MySQL. It is mainly maintained by the open-source community and licensed by GPL. One of the reasons for developing this branch is that after Oracle acquired MySQL, there is a potential risk of closing the source of MySQL. Therefore, the community uses the branch method to avoid this risk. MariaDB
Compile and install MariaDB-10.0.20 under CentOS 6.6
System Environment: CentOS6.6 (Final)MariaDB port: 3309 (because MySQL is already installed on the local machine and you do not want to delete MySQL)
# Wget http://mariadb.nethub.com.hk//mariadb-10.0.20/source/mariadb-10.0.20.tar.gzCreate
follows:The construction of Galera clusterThe following operations are performed on three nodes:Yum Install Mariadb-galera-server mariadb-client galera-yAfter the installation of the configuration file:# ll/etc/my.cnf.d/ Total --rw-r--r--1Root root295Oct - ,: atclient.cnf-rw-r--r--1Root root232Oct - ,: atmysql-clients.cnf-rw-r--r--1Root root1007The - -: -serv
-client.x86_64. 5.36-1. el6 will be obsoleting--> Processing Dependency: MariaDB-common for package: MariaDB-client-5.5.36-1.el6.x86_64---> Package MariaDB-server.x86_64. 5.36-1. el6 will be obsoleting---> Package mysql. x86_64. 1.71-1. el6 will be obsoleted---> Package mysql-server.x86_64. 1.71-1. el6 will be obsolete
Http://www.server110.com/mariadb/201310/2670.html1, in/etc/yum.repos.d/under the establishment of MARIADB.REPO, the contents are as follows:[Email protected] etc]$ CD/ETC/YUM.REPOS.D[Email protected] yum.repos.d]$ VI Mariadb.repo# MariaDB 10.0 CentOS repository list-created 2013-08-23 13:08 UTC# http://mariadb.org/mariadb/repositories/[
Tags: System reference base next set CTE Character set Isa start1, installation mariadb Installation commands Yum-y Install mariadb Mariadb-server Installation Complete mariadb, first start mariadb Systemctl Start mariadb Set boot
: https://downloads.mariadb.org/mariadb/repositories/
After selecting the operating system version, you can view and set the installation source for other operating systems.
2. Install the database
# yum remove MariaDB-server MariaDB-clientyum -y install MariaDB-server MariaDB
DigitalOcean-CentOS7-enable MariaDB service, centos7mariadbGossip:
My job has not been smooth recently. I have been in the ACM Team (back in seconds), engaged in php development, O M, and scientific research (visualization). Now I am mainly writing java, most of the things I learned are related to the Web.
When looking for a job, the interviewer looked at a group of Web development projects on my resume and asked me why I chose
. [ OK ]15. Check the ConfirmationCheck if Port 3306 is turned on#ss -ntl | grep 3306LISTEN 0 50 *:3306 *:*Confirm version#mysql -Vmysql Ver 15.1 Distrib 5.5.59-MariaDB, for Linux (x86_64) using readline 5.116. Make the Security Configuration#/usr/local/mysql/bin/mysql_secure_installationEnter current password for root 默认为空Set root password
-set-client-handshakeFile/etc/my.cnf.d/client.cnfVi/etc/my.cnf.d/client.cnfAdd in [client]Default-character-set=utf8File/etc/my.cnf.d/mysql-clients.cnfVi/etc/my.cnf.d/mysql-clients.cnfAdd in [MySQL]Default-character-set=utf8Complete configuration, restart MARIADBSystemctl Restart MARIADBThen enter MARIADB to view the character set[Email protected] ~]# mysql-u roo
Tags: root gen error log end 1.5 execution disk cannot be updatedThe logs in MYSQL/MARIADB are broadly divided into the following categories:Query LogGeneral Query log:Slow query log:error LogBinary logRelay LogTransaction logA brief introduction to these kinds of logs, logs for our analysis of MySQL service has a very important help;Query log:General Query log: The default is closed, because all the query statements will be recorded;
are N, N, N, y, respectively. Then we configure the MARIADB character set, modify the following files in turn, the following commands may be used. (1) Open file: VI file name. suffix (2) Edit file: Press the keyboard "I" After opening the file (3) Exit Edit: ESC (4) Save changes and close files: input: Wq Enter (5) Undo Change: Input: Undo Enter Add under the [Mysqld] tab of the/ETC/MY.CNF file init_connect= ' SET collation_connection = Utf8_unicode_
minimal Ubuntu server as the basis for this article. I run all the commands under root, so make sure you're using the root account: sudo suInstalling MariaDB as a replacement for MySQLI installed MariaDB instead of MySQL. MariaDB is the MySQL branch version maintained by the author of MySQL Monty Widenius. MariaDB is
Tags: root word upd related ges centos other iad insert1, installation mariadb Installation commands Yum-y Install Mariadb-server mariadb-client Installation Complete mariadb, first start mariadb Set boot up The following is a sim
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.