- -- Using src='https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip'
- [ 26%] Building C object extra/CMakeFiles/mariadbd-safe-helper.dir/mysqld_safe_helper.c.o
- Creating mysql_waitpid link
- CMake Error at libfmt-stamp/download-libfmt.cmake:159 (message):
- Each download failed!
- error: downloading 'https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed
- status_code: 35
- status_string: "SSL connect error"
- log:
- --- LOG BEGIN ---
- Trying 20.205.243.166:443...
- TCP_NODELAY set
- Connected to github.com (20.205.243.166) port 443 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- successfully set certificate verify locations:
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs
- [5 bytes data]
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- [512 bytes data]
- OpenSSL SSL_connect: Connection reset by peer in connection to
- github.com:443
- Closing connection 0
复制代码
问题出在这里,从日志中看到,mariadb安装时需要连接github下载这个包,你的服务器连不上github导致包下载失败,所以安装失败了;
建议更换mysql8.0使用,或者你看想办法服务器能访问github |