#查看本机mysql Installation Path[[email protected] toolkit]$ Rpm-qa|grep-i mysql[[email protected]-0134/usr/lib/mysql/usr/share/ MysqlEnvironment CentOS, after testing, the above directory actually does not have MySQL installation, just have some lib
Create users and Groups# groupadd MySQL # useradd-r-g MySQL MySQL Unpack the Tarball# TAR-XVF mysql-5.6.37-linux-glibc2.12-x86_64.tar.gz# MV mysql-5.6.37-linux-glibc2.12-x86_64/usr/local# cd/usr/ local/# ln-s
1. Download: Http://dev.mysql.com/downloads/mysql/5.6.html#downloadsDownload version: I choose here 5.6.33, General edition, Linux under 64-bitYou can also directly copy the 64-bit, download by command: wget http://dev.mysql.com/get/Downloads/MySQL-5
Reference: http://blog.csdn.net/mycwq/article/details/24488691
Installation of Cmake,mysql 5.5 to be compiled with CMake
In the newly installed CentOS 5.7 system, the first installation of Nginx (with Nginx must rely on: gzip module
Preparing the Data Catalog
For the convenience of data security and later expansion, I chose to create the MySQL Data directory on the LVM .
[Email protected] ~]# echo "---" >/sys/class/scsi_host/host2/scanVirtual machine Add a
1. Download: Http://dev.mysql.com/downloads/mysql/5.6.html#downloadsDownload version: I choose here 5.6.33, General edition, Linux under 64-bitYou can also directly copy the 64-bit, download by command: wget http://dev.mysql.com/get/Downloads/MySQL-5
To create a MySQL group:Groupadd MySQLCreate a MySQL user and give this mysq group, do not create a home directory, do not allow users to log in. (Because the MySQL you just created is a virtual user, you are not allowed to log in)Useradd mysql-g
1. In general, the problem of permissions, the user and group to MySQL can be changed.Chown-r Mysql:mysql/var/lib/mysql2. The following error in starting the MySQL Times[[Email protected] ~]# service Mysql.server startstarting MySQL ...... ..... ....
1. Download: Http://dev.mysql.com/downloads/mysql/5.6.html#downloadsDownload version: I choose here 5.6.33, General edition, Linux under 64-bitYou can also directly copy the 64-bit, download by command: wget http://dev.mysql.com/get/Downloads/MySQL-5
There are two options to install Mysql, one is the source code installation, the second is to install the binary surface of the compilation package, in order to save time to choose the second. The MySQL installation package can be downloaded on the
Linux environment, after installing MySQL, not directly start the service, you must first initialize the database. The main tasks of initialization include:
Initialize the files required for the database such as log, tablespace, etc;
Just as the SQL Server database is typically installed in Windows Server 2003,2008, the MySQL database is typically installed on a Linux system, and the first version of the MySQL database is distributed on Linux systems.First, MySQL
Yum Installation: yum install Mysql-serverCompiling and installing 5.0-5.1Binary Compiler-Free installationCMake Way to compile 5.5-5.6
1.3 Installing the related packages1.3.1 CMake Softwarecd/home/oldboy/tools/Tar XF cmake-2.8.8.tar.gzCD
Mysql Introduction to Installation Environment:I'm doing MHA recently. Already installed heartbeat and DRBD, now ready to install MySQL.Mysql installation directory:/opt/mysqlMysql Data Catalog:/data/mysqlNote: The/data directory is actually a disk
The installation appears warning:the host ' Duanpan ' could not being looked up with./bin/resolveip ....Workaround: Vim/etc/hosts write the native IP address plus user name at the end line, 192.168.1.150 DuanpanInstallation appears installing MySQL
Official website:Dev.mysql.com/downloadsMySQL version used in the current lab environment:Mysql-5.6.29-linux-glibc2.5-x86_64.tar.gzcommands for direct wget under Linux:wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.29-linux-glibc2.5-x86_
One, Root user operation1. Create a regular user[[email protected] ~]# useradd ipdev[[email protected] ~]# echo "Ipdev" |passwd--stdin ipdev >/dev/null2. Create a user running the MySQL service[[email protected] ~]# useradd MySQL3. Verify that the
Reference: http://blog.csdn.net/zklth/article/details/7522677First, the Environment preparation:Note: All nodes need to close their walls/etc/init.d/iptables Status #查看防火墙状态/etc/init.d/iptables Stop #关闭防火墙1. Software
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.