LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't find mysql package for Slackware (https://www.linuxquestions.org/questions/slackware-14/cant-find-mysql-package-for-slackware-4175583321/)

alberg 06-29-2016 05:38 AM

Can't find mysql package for Slackware
 
I only installed Slackware a couple of days ago and don't know yet how to search packages in many unofficial repos. On SlackBuilds I didn't find mysql package (as well as with internet search). Could someone advise where can one find it?

Alien Bob 06-29-2016 05:45 AM

MySQL is already contained in Slackware. Only, the package is called "mariadb".
MariaDB is a fork of MySQL, and is developed by the original MySQL developers who were worried about Oracle's intentions when they acquired MySQL.

alberg 06-29-2016 01:41 PM

I have programs which require MySQL as dependency and unfortunately there are many reports about growing incompatibilities between mariadb and mysql (on mariadb site there is even no comparison with version 5.7).

I wonder does someone know what cmake flags to use for building mysql installation of minimal size from source? Their default configuration takes 5.1 Gb for building directory, and "make install" failed due to insufficient space when /usr/local/mysql was about 700 Mb.

notKlaatu 06-29-2016 01:45 PM

What incompatibilities concern you? I'm not a very heavy user of low-level mariadb/mysql functions, but I've not experienced any incompatibilities.

How much space do you have to build MySQL? I would be more concerned about not having 5db of disk space than about incompatibilities between MySQL and MariaDB ;-)

alberg 06-29-2016 02:24 PM

Simply it's obviously that 1 Gb installation is the 'Ultimate Enterprise', whereas I need just minimal. Why to waste 1 GB in /usr.

keefaz 06-30-2016 07:17 AM

Just try mariadb, check incompatibily if any by yourself. Better migrate to mariadb sooner than later imho

alberg 07-01-2016 10:11 AM

Quote:

Originally Posted by keefaz (Post 5568350)
Just try mariadb, check incompatibily if any by yourself. Better migrate to mariadb sooner than later imho

Why?

Quote:

original MySQL developers who were worried about Oracle's intentions
MySQL was bought in 2008.

To the topic: having read through the compile options and choosing only the needed ones, the new build directory resulted in 700 Mb size down from 5.2 Gb.

keefaz 07-01-2016 11:01 AM

Quote:

Originally Posted by alberg (Post 5568933)
Why?

Because it's instant check for your issue, just install pkg, test and see for yourself (don't read on other sites)

bassmadrigal 07-01-2016 11:15 AM

Quote:

Originally Posted by alberg (Post 5568933)
Why?

Lots of reasons. There's a reason most distros (RedHat, Debian, OpenSUSE) and companies (Wikipedia, Google, Wordpress.com, Craigslist) have switched to mariadb. I did a quick search and found an article from 2015 on 10 reasons why people should switch to mariadb. But the biggest is probably the fact that the mysql developers are with mariadb now, which means the people who got mysql to where it is are now continuing that progress on mariadb.

https://seravo.fi/2015/10-reasons-to...ll-using-mysql

Quote:

Originally Posted by alberg (Post 5568933)
MySQL was bought in 2008.

By Sun. That wasn't an issue. The issue arose when Sun was acquired by Oracle. Due to the uncertainty of what Oracle would do to mysql, the acquisition was held up in the EU until Oracle agreed to keep mysql alive through 2014. That was still too much uncertainty for the mysql developers, so they forked it and started mariadb. That date Oracle agreed to has since passed and they are now free to decide to stop development on mysql.

alberg 07-01-2016 11:55 AM

bassmadrigal,

thanks, that's very interesting info. I will consider switching. Although, the latest big update of mysql (5.7) and overall picture doesn't look as it's going to be discontinued.

bassmadrigal 07-01-2016 12:43 PM

It's very possible that mysql will stay alive for the foreseeable future. But I would imagine it would be similar to the OpenOffice vs LibreOffice. Essentially the same thing happened with OpenOffice... Oracle took over, the developers weren't happy and they forked. Fast forward to now, and LibreOffice is heavily developed and OpenOffice only gets occasional updates.

It won't kill you to stick with mysql, but a good chunk of people have switched and you're likely to stick with the way the industry is moving by switching to mariadb. However, of course, this is solely up to you. I just provide random bits of information. It's your choice to decide what to do with that information :)

kjhambrick 07-01-2016 05:17 PM

Another interesting article, more-or-less on topic, wrt Oracle's history as a steward of Open Source Apps:

http://arstechnica.com/information-t...-to-kill-java/

Just sayin' ... :)

-- kjh


All times are GMT -5. The time now is 06:13 PM.