mysql: error while loading shared libraries: libnuma.so

时间:2020-12-08 13:27:01

安装mysql后,执行初始化配置脚本,创建系统自带的数据库和表时报异常:

[root@VM_0_12_centos mysql]# scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql
Installing MySQL system tables.../usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

异常原因:

  缺少libnuma库文件 

解决方法:

  执行: yum install libnuma* -y