Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for modu
[root@localhost tmp]# /usr/local/mysql/bin/mysqlhotcopy -u root -p 123 --socket=/var/run/mysqld/mysql5.socket iwebmall /tmp/install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/i
install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.18: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 7) line 3
Compilation failed in require at (eval 7) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /usr/local/mysql/bin/mysqlhotcopy line 197
解决方法
[root@localhost DBD-mysql-4.020]# cp /usr/local/mysql/include/mysql* /usr/include/
cp: omitting directory `/usr/local/mysql/include/mysql'
[root@localhost DBD-mysql-4.020]# cp /usr/local/mysql/include/mysql* /usr/include/
cp: omitting directory `/usr/local/mysql/include/mysql'
cp: overwrite `/usr/include/mysql.h'? y
cp: overwrite `/usr/include/mysql_com.h'? y
cp: overwrite `/usr/include/mysql_com_server.h'? y
cp: overwrite `/usr/include/mysql_embed.h'? y
cp: overwrite `/usr/include/mysql_time.h'? y
cp: overwrite `/usr/include/mysql_version.h'? y
cp: overwrite `/usr/include/mysqld_ername.h'? y
cp: overwrite `/usr/include/mysqld_error.h'? y
[root@localhost DBD-mysql-4.020]# cp /usr/local/mysql/lib/* /usr/lib
cp: omitting directory `/usr/local/mysql/lib/plugin'
[root@localhost DBD-mysql-4.020]# /usr/local/mysql/bin/mysqlhotcopy -u root -p 123 --socket=/var/run/mysqld/mysql5.socket iwebmall /tmp/
Flushed 68 tables with read lock (`iwebmall`.`imall_admin_group`, `iwebmall`.`imall_admin_log`, `iwebmall`.`imall_admin_user`, `iwebmall`.`imall_areas`, `iwebmall`.`imall_article`, `iwebmall`.`imall_article_cat`, `iwebmall`.`imall_asd_content`, `iwebmall`.`imall_asd_position`, `iwebmall`.`imall_attribute`, `iwebmall`.`imall_brand`, `iwebmall`.`imall_brand_category`, `iwebmall`.`imall_cart`, `iwebmall`.`imall_category`, `iwebmall`.`imall_category_copy`, `iwebmall`.`imall_complaint_type`, `iwebmall`.`imall_complaints`, `iwebmall`.`imall_credit`, `iwebmall`.`imall_crons`, `iwebmall`.`imall_flink`, `iwebmall`.`imall_goods`, `iwebmall`.`imall_goods_attr`, `iwebmall`.`imall_goods_comment`, `iwebmall`.`imall_goods_gallery`, `iwebmall`.`imall_goods_shipping`, `iwebmall`.`imall_goods_transport`, `iwebmall`.`imall_goods_types`, `iwebmall`.`imall_groupbuy`, `iwebmall`.`imall_groupbuy_log`, `iwebmall`.`imall_img_size`, `iwebmall`.`imall_index_images`, `iwebmall`.`imall_integral`, `iwebmall`.`imall_keywords_count`, `iwebmall`.`imall_mailtpl`, `iwebmall`.`imall_nav`, `iwebmall`.`imall_order_goods`, `iwebmall`.`imall_order_info`, `iwebmall`.`imall_payment`, `iwebmall`.`imall_plugin_url`, `iwebmall`.`imall_plugins`, `iwebmall`.`imall_privilege`, `iwebmall`.`imall_protect_rights`, `iwebmall`.`imall_receiv_list`, `iwebmall`.`imall_refund_list`, `iwebmall`.`imall_remind`, `iwebmall`.`imall_remind_info`, `iwebmall`.`imall_remind_user`, `iwebmall`.`imall_settings`, `iwebmall`.`imall_shipping`, `iwebmall`.`imall_shipping_list`, `iwebmall`.`imall_shop_article`, `iwebmall`.`imall_shop_categories`, `iwebmall`.`imall_shop_category`, `iwebmall`.`imall_shop_guestbook`, `iwebmall`.`imall_shop_honor`, `iwebmall`.`imall_shop_info`, `iwebmall`.`imall_shop_inquiry`, `iwebmall`.`imall_shop_payment`, `iwebmall`.`imall_shop_request`, `iwebmall`.`imall_tag`, `iwebmall`.`imall_tag_user`, `iwebmall`.`imall_tmp_img`, `iwebmall`.`imall_transport`, `iwebmall`.`imall_user_address`, `iwebmall`.`imall_user_favorite`, `iwebmall`.`imall_user_info`, `iwebmall`.`imall_user_rank`, `iwebmall`.`imall_users`, `iwebmall`.`imall_word`) in 1 seconds.
Locked 0 views () in 0 seconds.
Copying 199 files...
Copying indices for 0 files...
Unlocked tables.
mysqlhotcopy copied 68 tables (199 files) in 0 seconds (3 seconds overall).
更多推荐
所有评论(0)