MySQL has three versions: binary, source package, RPM.
The installation process for binary packages is as follows
Download Address: http://dev.mysql.com/downloads/mysql/
Select Linux-generic
My choice here is mysql-5.6.28-linux-glibc2.5-x86_64.
This article mainly introduces the CentOS the source code installs the MySQL 5.6 method, the CentOS version is 5.8.
1 First, you need to go to the MySQL website download source tar package, click MySQL Community Server, select Source code, the
Cat/etc/redhat-release #查看系统版本CentOS Linux release 7.3.1611 (Core)Uname-i #查看系统位数x86_64Uname-r #查看系统内核3.10.0-514.el7.x86_64CentOS 7.0 defaults to using firewall as the firewallClose firewall:Systemctl Stop Firewalld.service #停止firewallSystemctl
MySQL Ops people should be aware that the online MySQL is generally based on the source code compiled, because this talent is sufficient according to the individual needs of the enterprise to choose the function to compile, although MySQL source
For two development, a large part of the search for files and the change of databasefor database changes. has not found the more useful monitoring database change monitoring software.Today, I'll show you how to monitor database changes using MySQL's
Anyone who has been using MySQL O & M should be clear that online MySQL usually uses source code compilation, because this allows you to select the function to be compiled based on your own needs, although the MySQL source code compilation is quite
Quickly deploy MySQL and one machine and multiple instances to deploy mysql instances
MySQL has three versions: binary, source code package, and RPM.
The following describes how to install a binary package.
:
As shown below:[Mysqld_safe]Pid-file=/project/class2/mysql/run/mysqld.pid#malloc-lib=/project/class2/mysql/lib/libjemalloc.so[MySQL]port=3306Prompt=\\[email protected]\\d
Run multiple MySQL services on the same machine
Run multiple MySQL services on the same machine
**************************************** ******************
The first part is to build a multi-mysql service on a server.
*****************************
Step 6 of automated MySQL5.6 deploymentBefore preparation, you must set up ftpserver.
yum install vsftpd service vsftpd start
In this way, the ftp service is up. It is simple to use, so no configuration file is used. In this way, you only need to
Has the MySQL operation Dimension person should be clear, the line MySQL generally uses the source code compiles, because this can according to the enterprise each need to choose to compile the function, although the MySQL source code compiles quite
Preparatory workFirst, we need to build ftpserverYum Install vsftpd service vsftpd startSo the FTP service is up, here it is simply used, so no configuration file is used. This way we simply place the required files under the/var/ftp/pub/folder, and
I. On-line installationYum List | grep MySQLDisplays the version information for MySQL on the Yum serverInstall with the following command:Yum install-y mysql-server MySQL mysql-develAfter the installation is complete, view the installed version
SQL Server has a SQL Profiler that can track SQL statements executed by the server in real time, which is useful when debugging errors in many cases. For example: Other people write complex code, production system, no debugging environment, no
MySQL Ops people should be aware that the online MySQL is generally used to compile the source code, because this can be based on the needs of enterprises to choose to compile the function, although the source code compiled MySQL is very simple, but
Install mysql5.7.17 and rpmmysql5.7.17 using RPM in linux
For your reference, the installation method record of mysql5.7 rpm in linux is as follows:
Delete old package:
# rpm -qa | grep -i mysql# rpm -ev mysql-libs-* --nodeps
Install the rpm package:
Recently took time to test on the virtual machine. The latest version of the lamp of the consolidation of the installation, is to consolidate the previous blog, the following content in the CENTOS6.3 (Install minimal desktop and the default
Log as a means of important query problems, so try to record their own needs of the log, for their own query some problems.MySQL has the following types of logs:Error log:-log-errQuery log:-logSlow query log:-log-slow-queriesUpdate
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.