Mysql8.2安装

文章目录

    • 问题
      • GLIBC_2.25

问题

GLIBC_2.25

[root@CentOS support-files]# ./mysql.server start
/usr/local/mysql8.2/bin/my_print_defaults: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/mysql8.2/bin/../lib/private/libcrypto.so.3)
Starting MySQL./usr/local/mysql8.2/bin/my_print_defaults: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/mysql8.2/bin/../lib/private/libcrypto.so.3)
/usr/local/mysql8.2/bin/my_print_defaults: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/mysql8.2/bin/../lib/private/libcrypto.so.3)
Logging to '/usr/local/mysql8.2/data/CentOS.err'.
The server quit without updating PID file (/usr/local/mysql[FAILED]/CentOS.pid).

下载
http://ftp.gnu.org/gnu/glibc/

tar -xvf glibc-2.25.tar.xz
cd glibc-2.25
mkdir build
cd build
../configure  --prefix=/usr/glibc2.25
make -j16
sudo make install

你可能感兴趣的:(Linux,mysql)