mysqld初始化报错找不到libnuma.so.1和libaio.so.1

  • A+
所属分类:BLOG MySQL

今天在做mysql5.7初始化库的时候报错,内容如下:

执行命令:mysqld --defaults-file=/data/mysql3306/mysql3306.cnf --initialize

报错信息:

mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

解决办法:

yum -y install libaio numactl

记录一下,留作备用!

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: