In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
In this issue, the editor will bring you about how to install cmake in mysql 5.5.32. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
Cmake tool installation
Yum install cmake-y
Dependency package yum install ncurses-devel-y
Start installing mysql
Create users and groups
Groupadd mysql
Useradd mysql-s / sbin/nologin-M-g mysql
Tar zxf mysql-5.5.32.tar.gz
Cd mysql-5.5.32
Cmake. -DCMAKE_INSTALL_PREFIX=/application/mysql-5.5.32\
-DMYSQL_DATADIR=/application/mysql-5.5.32/data\
-DMYSQL_UNIX_ADDR=/application/mysql-5.5.32/tmp/mysql.sock\
-DDEFAULT_CHARSET=utf8\
-DDEFAULT_COLLATION=utf8_general_ci\
-DEXTRA_CHARSETS=gbk,gb2312,utf8,ascii\
-DENABLED_LOCAL_INFILE=ON\
-DWITH_INNOBASE_STORAGE_ENGINE=1\
-DWITH_FEDERATED_STORAGE_ENGINE=1\
-DWITH_BLACKHOLE_STORAGE_ENGINE=1\
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1\
-DWITHOUT_PARTITION_STORAGE_ENGINE=1\
-DWITH_FAST_MUTEXES=1\
-DWITH_ZLIB=bundled\
-DENABLED_LOCAL_INFILE=1\
-DWITH_READLINE=1\
-DWITH_EMBEDDED_SERVER=1\
-DWITH_DEBUG=0
Make & & make install
Ln-s / application/mysql-5.5.32/ / application/mysql
Echo 'export PATH=/application/mysql/bin:$PATH' > > / etc/profile
Source / etc/profile
Cp / application/mysql/support-files/my-small.cnf / etc/my.cnf
Chown-R mysql.mysql / application/mysql/data/
Chown-R 1777 / tmp/
Cd / application/mysql/scripts/
Chmod + x mysql_install_db
. / mysql_install_db-- basedir=/application/mysql/-- datadir=/application/mysql/data/-- user=mysql
Cp support-files/mysql.server / etc/init.d/mysqld
Chmod + x / etc/init.d/mysqld
Netstat-lntup | grep 3306
Mysql
This is how to install cmake in mysql 5.5.32, which is shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.