In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how to install mysql cluster, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Rpm-ef mysql-4.1.12-3.RHEL4.1 freeradius-mysql-1.0.1-3.RHEL4.i386 mysql-devel-4.1.12-3.RHEL4.1.i386 mysql-server-4.1.12-3.RHEL4.1.i386 mysql-bench-4.1.12-3.RHEL4.1.i386 mysql-server-4.1.12-3.RHEL4.1.i386 freeradius-mysql-1.0.1-3.RHEL4.i386 mysql-server-4. 1.12-3.RHEL4.1.i386 perl-DBD-MySQL-2.9004-3.1.i386 dovecot-0.99.11-2.EL4.1.i386 cyrus-sasl-sql-2.1.19-5.EL4.i386 php-mysql-4.3.9-3.8.i386 mod_auth_mysql-2.6.1-2.2.i386 mysqlclient10- 3.23.58-4.RHEL4.1 mysqlclient10-devel-3.23.58-4.RHEL4.1.i386 MySQL-python-1.0.0-1.RHEL4.1.i386 qt-MySQL-3.3.3-9.3.i386 MyODBC-2.50.39-21.RHEL4.1.i386 MySQL-python-1.0.0-1.RHEL4.1.i386 libdbi-dbd-mysql-0.6.5-10.RHEL4.1.i386
Groupadd mysql
Useradd-g mysql mysql
CFLAGS= "- O3-mpentiumpro" CXX=gcc CXXFLAGS= "- O3-mpentiumpro-felide-constructors-fno-exceptions-fno-rtti"
. / configure-prefix=/usr/local/mysql-sysconfdir=/etc
-localstatedir=/srv/mysql-with-unix-socket-path=/var/run/mysql/mysql.sock
-- enable-thread-safe-client
-- with-named-thread-libs=-lpthread
-enable-local-infile-with-charset=utf8
-with-extra-charsets=utf8-enable-assembler
-with-plugin-ndbcluster-with-plugin-partition
-- without-ndb-debug
-without-debug-without-bench-without-readline
-libdir=/usr/lib-includedir=/usr/include-oldincludedir=/usr/include
Make
Make install
Cp support-files/my-medium.cnf / etc/my.cnf
Cp support-files/mysql.server / etc/init.d/mysql
Chmod 755 / etc/init.d/mysql
Chkconfig-add mysql
Chkconfig-level 2345 mysql on
PATH=/usr/local/mysql/bin:$PATH
Echo "PATH=/usr/local/mysql/bin:$PATH" > > / etc/profile
PATH=/usr/local/mysql/bin:$PATH
Export PATH
Bin/mysql_install_db-user=mysql
Chown-R root.
Chown-R mysql var
Chgrp-R mysql.
The above is all the contents of the article "how to install cluster in mysql". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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.