Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Error in centosa6.5 installation of MySQL 5.6-DWITHOUT_PARTITION_STORAGE_ENGINE=0

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

[78%] Built target slaveLinking CXX executable pfs_connect_attr-t../sql/libsql.a (handler.cc.o): In function `get_ha_partition (partition_info*)': / data0/software/mysql-5.6.21/sql/handler.cc:460: undefined reference to `ha_partition::ha_partition (handlerton* Partition_info*)'/ data0/software/mysql-5.6.21/sql/handler.cc:462: undefined reference to `ha_partition::initialize_partition (st_mem_root*)'.. / sql/libsql.a (sql_partition_admin.cc.o): In function `Sql_cmd_alter_table_truncate_partition::execute (THD*)': / data0/software/mysql-5.6.21/sql/sql_partition_admin.cc:822: Undefined reference to `ha_partition::truncate_partition (Alter_info* Bool*) 'collect2: ld returns 1make [2]: * [storage/perfschema/unittest/pfs_connect_attr-t] error 1make [1]: * [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] error 2make: * [all] error 2

Solution:

Cmake. -DCMAKE_INSTALL_PREFIX=/usr/local/software/mysql-DWITHOUT_PARTITION_STORAGE_ENGINE=0make & & make install

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report