我无法在mariadb 10.0.20中安装cassandra插件,我尝试过这样做:
MariaDB [(none)]> INSTALL PLUGIN cassandra SONAME 'ha_cassandra.so';错误1126 (HY000):无法打开共享库‘/usr/lib/mysql/plugin/ha_curandra.so’(errno: 2,无法打开共享对象文件:没有此类文件或目录)
MariaDB [(none)]> INSTALL SONAME 'ha_cassandra.so';错误1126 (HY000):无法打开共享库‘/usr/lib/mysql/plugin/ha_curandra.so’(errno: 2,无法打开共享对象文件:没有此类文件或目录)
但在这两种情况下,我得到了相同的错误。请帮帮我。
我使用Ubuntu15.04 64位s和MariaDB10.0.20。
发布于 2016-02-26 07:38:47
实际上,mariadb下载页面提供了两个x86_64.tar.gz文件:"mariadb-10.0.10-linux-x86_64.tar.gz“和”MariaDB-10.0.10-Linux86_64.tar.gz(需要GLIBC_2.14+)“。所以希望如果你没有下载glibc版本,它应该有所有扩展的存储引擎,比如tokudb,cassandra等等,
source : https://mariadb.com/kb/en/mariadb/tokudb-engine-installation-problem/发布于 2016-07-26 22:43:57
我遇到了同样的问题,因为这个页面上的MariaDB安装说明可能会让Ubuntu用户感到困惑:
https://www.vultr.com/docs/install-mariadb-on-ubuntu-14-04
对于Ubuntu安装,请确保首先创建一个存储库:
apt-get install software-properties-common
apt-key adv --recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
add-apt-repository 'deb http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu trusty main'
apt-get update
apt-get install mariadb-server通过运行以下命令完成安装:
/usr/bin/mysql_secure_installation结论:如果不首先更新存储库,您将得到一个旧版本的MariaDB,该版本不包含Cassandra插件,因此将导致上面提到的错误。
https://stackoverflow.com/questions/31718033
复制相似问题