安装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

 

相关文章:

  • 2021-09-29
  • 2021-08-29
  • 2022-02-23
  • 2021-12-09
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-04
  • 2022-03-07
  • 2021-10-29
  • 2021-04-04
相关资源
相似解决方案