Hello! I installed ubuntu 14.04 server with preinstalled redmine. Then I installed the newest version of MariaDB, after that redmined crashed. I got this error: Incorrect MySQL client library version! This gem was compiled for 5.5.40 but the client library is 10.0.17-MariaDB You can see full error text here: http://188.166.46.9/temp.html Please, help me to fix this.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Installing MariaDB will uninstall MySql. As the error indicates, when the mysql2 gem is installed it is compiled for a specific version of MySql. To upgrade to a new major version of MariaDB, you’ll first need to remove the old gem, install the MariaDB development library, and then reinstall it with bundler.
This should get you back up and running:
gem uninstall mysql2
sudo apt-get install libmariadbclient-dev
cd /srv/redmine
bundle install
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.