服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - Centos5.2配置LAMP与Centos5.3配置LAMP(57)

Centos5.2配置LAMP与Centos5.3配置LAMP(57)

2019-10-11 14:12Centos教程网 Centos

# wget http://mirrors.xueron.com/CPAN/autho...I-1.601.tar.gz 首先,安装DBI包: # tar zxvf DBI-1.061.tar.gz # cd DBI-1.061 # perl Makefile.PL # make # make test # make install wget http://search


# wget http://mirrors.xueron.com/CPAN/autho...I-1.601.tar.gz 
首先,安装DBI包: 
# tar zxvf DBI-1.061.tar.gz 
# cd DBI-1.061 
# perl Makefile.PL 
# make 
# make test 
# make install 

wget http://search.cpan.org/CPAN/authors/...l-4.005.tar.gz 
# tar zxvf DBD-mysql-4.005.tar.gz 
# cp /usr/local/mysql/lib/mysql/libmysqlclient.so.15 /usr/lib/ 
# perl Makefile.PL --libs="-L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/lib -lz " --cflags=-I/usr/local/mysql/include/mysql --mysql_config=/usr/local/mysql/bin/mysql_config --testhost=127.0.0.1--testsocket=/tmp/mysql.sock --testdb=test --testuser=root --testpassword="youpassword" 
# make 
# make test 
# make instll 
测试执行 mysqlhotcopy 並出現如下类似錯誤訊息 
#/usr/local/mysql/bin/mysqlhotcopy mysql /tmp/test -u root -p 'password' 
Invalid db.table name 'mysql.mysql`.`activity' at /usr/local/bin/mysqlhotcopy line 855. 
Ans: 
找到了 [MySQL Bugs: #27303: mysqlhotcopy dies with error Invalid db.table name 'foo.bar`.`baz'] 说明将 mysqlhotcopy 文件修改一下后即可顺利执行 mysqlhotcopy 了 
#vi /usr/local/mysql/bin/mysqlhotcopy //在第 835 下新增一行 

延伸 · 阅读

精彩推荐