溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

在centosa6.5安裝mysql5.6時報錯-DWITHOUT_PARTITION_STORAGE_ENGINE=0

發(fā)布時間:2020-07-22 08:39:13 來源:網(wǎng)絡(luò) 閱讀:956 作者:baishuchao 欄目:MySQL數(shù)據(jù)庫
[ 78%] Built target slave
Linking 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 返回 1
make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t] 錯誤 1
make[1]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] 錯誤 2
make: *** [all] 錯誤 2

解決方法:

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


向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI