Get the App
SLTechnology News&Howtos  ›  Database  › 

LnixuAS3Mysql failed to start issu

Shulou Source: shulou.com Published: 2022-06-01 05:47:27 10月02日 Update

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

Tags: Kernel source code part compilation two CD file folder time best server program path error development service selection problem Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB NVidia Shulou Tech Info macOS