WIN10 Virtual machine: VMware workstation PRO
Installation
# 1. View the system version
# 2. To the version of CentOS 7 under the MySQL website,
2.1. Select Community Edition (red box)
# 3. Place the downloaded installation package into the/usr/local/mysql folder (create your own new preparation) and unzip
Preparatory work
1. Install the CMake software (for customers choosing installation parameters like Weindows)
2. Install the dependent package Ncurses-devel (requires root account operation, otherwise
3. Create users and user groups
4. Unzip the installation package
5.cmake ( Customer Select installation Parameters )
6.make &make install(perform customer-selected installation parameters )
/application/mysql
8. Configuring the initialization file, SUPPORT-FILE/MY-SMALL.CNF- /etc/my.cnf
9. Configure environment variables, note: application configuration in front
10. Configure Musql permissions for the installation directory Chown,chmod-r 17777/tmp
11. Enter Application/mysql/scripts, initialize./mysql_install_db--basedir=/...
12. Configure the boot file mysqld, Support-file/mysql-server CP to/etc/init.d/mysqld
Linux under CMake Compile, install, configure, and uninstall MySQL