Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

LnixuAS3Mysql failed to start issu

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

AS3 contains only the part of MySQL except the server program by default, so you need to download the source RPM reconstruction of MySQL from RPMFIND (it is best to use the source package, the RPM and BIN packages provided by MySQL.com may have errors when compiling other parts that use mysql). To ftp://rpmfind.net/linux/redhat/enterprise/3/en/os/i386/SRPMS/mysql-3.23.58-1.src.rpm

Downloaded mysql-3.23.58-1.src.rpm. [@ more@] 1.cp mysql-3.23.58-1.src.rpm / usr/src

two。 Check to see if your kernel source code is installed, and if not, install the kernel-source* rpm package on the third CD.

3.cd / usr/src

4.ln-s linux-2.4.21-4.EL redhat (because the default lookup path for .src.rpm recompilation is redhat, if you chose kernel development when you installed, you already have this redhat package).

5.mkdir redhat/BULID

6.mkdir-p redhat/RPMS/i386 (some are created without these two folders)

7.rpmbuild-- rebuild mysql-3.23.58-1.src.rpm

8.cd redhat/RPMS/i386

9.rpm-ivh mysql-server-3.23.58-1.i386.rpm

10. Start service mysqld start

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report