Basic management of MARIADB database
1.Mariadb Database Installation and basic configuration
No password required for first landingUse the Mysql_secure_installation tool for database security settings, and follow the prompts to complete the operation:And then you can mysql-u root-p log in to the root user.Edit VIM/ETC/MY.COF Join Skip-networking=1Closes the open port, allowing local connections only throu
Tags: MariaDB-10.0 database1. Configure the Yun source to find the appropriate version of your system in http://yum.mariadb.org/Vim/etc/yum.repos.d/mariadb.repo[MARIADB]Name = MariaDBBaseURL = Http://yum.mariadb.org/10.0/centos6-amd64Gpgkey=https://yum.mariadb.org/rpm-gpg-key-mariadbGpgcheck=12.yum InstallationYum-y Install mariadb-
MariaDB (MySQL) creation, deletion, selection, and data type Usage Details, mariadbmysql
1. Introduction to MariaDB (skipped in MySQL)
The MariaDB database management system is a branch of MySQL and is mainly maintained by the open-source community. The purpose of using GPL to authorize MariaDB is to be fully compatibl
Introduction of MARIADB (MySQL introduction skip)
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 (En
Reference: Http://wangfeng7399.blog.51cto.com/3518031/1393146?utm_source=tuicoolCompiling MariaDB-5.5 with CMakeCMAKE specifies compilation options in a different way from make, which is implemented in the following way:./configure CMake../configure--help cmake.-lh or Ccmake.Specifies the options that are commonly used when installing the installation path of a file: -dcmake_install_prefix=/usr/local/mysql-dmysql_datadir=/data/mysql-dsysconfdir=/etcTh
backup is very troublesome, we need to fully understand the operation principle of mariadb. Where the MARIADB storage is using black box storage, that creates a problem, we want to view the data in the database only using the MySQL client. Then there are two ways we can back up this data. One is a logical backup, we reverse the data generated a MySQL
deb-src http://mirror2.hs-esslingen.de/mariadb /repo/5.5/debian Squeeze Main
Next, execute the following command:
Apt-key adv--recv-keys--keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db apt-get
update
Apt-get Mariadb-server mariadb-client
As a result, MySQL (or Percona) is automatic
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
Note:Operating System: CentOS 5.10 32-bitMariaDB: mariadb-5.5.33aMariaDB database storage directory:/data/mysqlPreparation:1. Configure the IP address, DNS, and gateway to ensure that the remote connection tool can be used to connect to the server. The yum command on the server can be used normally.2. configure the firewall and enable port 3306Vi/etc/sysconfig/iptables # Edit-A RH-Firewall-1-INPUT-m state -- state NEW-m tcp-p tcp -- dport 3306-j ACCEP
效systemctl enable iptables.service #设置防火墙开机启动二, Close selinuxvi/etc/selinux/config#selinux=enforcing #注释掉 #selinuxtype=targeted #注释掉SELINUX =disabled #增加: wq!# Save Exit Setenforce 0 #使配置立即生效 Installation article: Installation Apacheyum Install httpd #根据提示, enter y installation to successfully install SYSTEMCTL start httpd.service #启动apachesystemctl stop httpd.service #停止apachesystemctl Restart httpd.service #重启apachesystemctl enable httpd.service# Set Apache boot to open the server IP address
Label:Since MARIADB is developed by a branch of MySQL, the configuration is generally the same.1 [Email protected]:~# mysql-uroot-prootEnter the MARIADB server and change the value of the Mysql.user host field to% to indicate that you can log on to the MySQL server as root on any client machine, and it is recommended that you set it to% at development time.1
Install MariaDB (MySQL) in CentOS6.5 1. Get mariaDB installation package on the official website through xftp to the root directory 2. Expand the MariaDB file tarxfmariadb-5.5.42-li
Install MariaDB (MySQL) in CentOS 6.5 1. Get the installation package of mariaDB on the offic
MySQL and MariaDB traditional master-slave cluster configuration
The most basic cluster mode for MySQL and MariaDB is the master-slave mode, which is also the most widely used cluster mode for many small and medium-sized enterprises. This cluster is easy to deploy and can be used. Let's step by step.
Install MariaDB 10.1 source code in the default path/usr/local/
Chapter Overview:The MySQL database management system was changed from open source to closed by Oracle, resulting in the selection of MARIADB for many Linux distributions, including Red Hat. This section will teach you to use MARIADB database management tools to manage your database and learn about common operations such as creating, searching, updating, inserting, and deleting data forms. and proficient in
under [client]:Default-character-set=utf8Edit the MYSQL-CLIENTS.CNF in the MY.CONF.D directory and add it under [MySQL]:Default-character-set=utf8Edit the SERVER.CNF in the MY.CONF.D directory and add it under [mysqld]:init_connect= ' Set collation_connection = Utf8_general_ci ' init_connect= ' Set NAMES UTF8 ' character-set-server= Utf8collation-server=utf8_general_ciskip-character-set-client-handshakeRes
In May last year, I first introduced MariaDB 10.0 on my blog. At that time, we received a lot of feedback. After summing up the comments, we once again explained MariaDB 10.0 in a more in-depth manner. at the beginning of the New Year, with the release of MariaDB 10.0 Alpha version, it is time to talk about MariaDB 10.
CentOSandRHEL7: InstallLinux, Apache, MariaDB, PHP (LAMP) Stack RHELCentOSApacheLAMPMariaDB
IAm new Red Hat Enterprise Linux version 7 user/sysadmin/developer. this version made the big number change for RHEL 7/CentOS 7. how can I install LAMP (Linux, Apache, MariaDB, PHP) stack on a RHEL version 7 or CentOS Linux version 7 using CLI or over ssh based session?
Tutorial details
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.