Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It doesn't look like openSUSE has a MariaDB client development package. You must install the libmysqlclient-devel package package. Since MariaDB is tagged as a drop in replacement for MySQL, it would have to support the MySQL clients, though you may lose tiny bits of MariaDB improvements.</p> <p>It appears that the mysql2 gem should function with the MariaDB client libraries. Other options are hoping the mariadb-client package is enough, find a 3rd party package for the libraries or installing them yourself.</p> <p><strong>Update</strong> There is now an <a href="https://downloads.mariadb.org/mariadb/repositories/#mirror=syringa&amp;distro_release=opensuse13-amd64--opensuse13&amp;distro=openSUSE&amp;version=10.1" rel="noreferrer">MariaDB repository for openSUSE</a>. It includes a development package, and very good instructions. Place the following in a file under /etc/zypp/repos.d/</p> <pre><code># MariaDB 10.1 openSUSE repository list - created 2015-10-20 16:37 UTC # http://mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/opensuse13-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 </code></pre> <p>Now you can run <code>zypper install MariaDB-client MariaDB-devel</code></p> <hr> <p>Your question isn't about Ubuntu, but I'm sure a lot of people Googling Ubuntu (or its derivatives like Mint) will land on this page. In Ubuntu, you have to install all the packages using the <a href="https://downloads.mariadb.org/mariadb/repositories/#mirror=osuosl&amp;distro=Ubuntu&amp;version=10.0&amp;distro_release=trusty" rel="noreferrer">MariaDB Foundation's ppa</a>, but they include all the development libraries and support the 5.5, 10.0 and 10.1 releases. Then you can install packages such as <code>mariadb-server</code>, <code>mariadb-client</code>, <code>libmariadbclient-dev</code>, and <code>libmariadbclient-dev:i386</code> (32-bit client).</p> <p>The instructions are simple and detailed on the site. For example, installing just the 10.1 dev libraries in Ubuntu 14.04</p> <pre><code>sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://mirrors.syringanetworks.net/mariadb/repo/10.1/ubuntu trusty main' sudo apt-get update sudo apt-get install libmariadbclient-dev </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload