1. 程式人生 > >mysql安裝報錯

mysql安裝報錯

mysql 報錯

錯誤1 make: *** No targets specified and no makefile found. Stop. 1、wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz 2.、tar zxvf ncurses-5.6.tar.gz 3、 ./configure -prefix=/usr/local -with-shared-without-debug 4、make 5、make install
報錯2:
Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解決辦法:
#yum install libaio* -y
報錯3
FATAL ERROR: please install the following Perl modules before executing ./scripts/mysql_install_db:
Data::Dumper
解決辦法:
#yum install -y perl-Data-Dumper

mysql安裝報錯