collect2: ld returned 1 exit status make[2]: *** [xmllint] 错误 1 make[2]: Leaving directory `/usr/local/libxml2-2.6.30' make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/usr/local/libxml2-2.6.30' make: *** [all] 错误 2 [root@localhost libxml2-2.6.30]#
./configure --without-zlib --prefix=/usr/local/libxml2
安装成功
# vi /etc/my.cnf
在[mysqld]的段中加上一句:skip-grant-tables
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-grant-tables
保存并且退出vi。
重新启动mysqld
# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
#mysql -u root -p