Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing the package using MariaDB #146

Open
bkosun opened this issue Mar 21, 2019 · 1 comment
Open

Installing the package using MariaDB #146

bkosun opened this issue Mar 21, 2019 · 1 comment

Comments

@bkosun
Copy link

bkosun commented Mar 21, 2019

Hello!

When trying to install clickhouse-mysql (RPM), an error occurs:

# yum install -y clickhouse-mysql
...
--> Finished Dependency Resolution
Error: Package: clickhouse-mysql-0.0.20180319-1.noarch (Altinity_clickhouse)
           Requires: mysql-community-devel
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Requires mysql-community-devel package:

Requires: mysql-community-devel

This package is not in the official MariaDB repository:

# yum install mysql-community-devel
...
No package mysql-community-devel available.
Error: Nothing to do

Isn't it enough that the mysql-devel package is installed on the system?

# yum install mysql-devel
...
Package MariaDB-devel-10.3.13-1.el7.centos.x86_64 already installed and latest version
Nothing to do

I had to fix the requirements and build the RPM package manually to install the clickhouse-mysql-data-reader

When you try to install the mysql-devel package for the MySQL Community Server, the mysql-community-devel package will be automatically installed.

https://mariadb.com/kb/en/library/mariadb-vs-mysql-compatibility/

MariaDB 10.3.13
CentOS Linux release 7.6.1810

Thanks!

@tuhoanganh
Copy link

try using Pip to install:
curl -s https://packagecloud.io/install/repositories/altinity/clickhouse/script.rpm.sh | sudo bash
sudo yum install -y epel-release
sudo yum install -y clickhouse-client
sudo yum install -y mariadb-devel MariaDB-shared
sudo yum install -y gcc
sudo yum install -y python34-devel python34-pip

then:
sudo pip3 install clickhouse-mysql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants