LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2021, 01:01 PM   #1
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Rep: Reputation: Disabled
Installing mysql?


I am using Slackware 14.2 64-bit (updated), and I discovered that I need to have mysql installed in order to properly run some software packages that I want to install. My question is this: Can I safely install it without needing to re-install the operating system, and if so, how should I go about it?
 
Old 02-23-2021, 01:07 PM   #2
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
Whatever you're wanting to use it with should work with MariaDB instead, which is why 14.2 switched from including MySQL to including MariaDB.
 
Old 02-23-2021, 02:19 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
As Spinlock alluded, mariadb is a fork of mysql to try and prevent licensing issues once mysql's parent company was bought by Oracle. When the fork happened, most mysql developers moved to mariadb. A lot of companies and distros have switched to mariadb, including Slackware.

The developers for mariadb have made it a point to maintain compatibility with mysql, so if something worked on mysql, it is very likely it will work with mariadb. There's likely no reason for you to install mysql on Slackware and I'm not sure of any projects with SlackBuilds for you to easily build mysql (although, you might be able just change the mariadb SlackBuild to do this).

Slackware switched to mariadb during the development of 14.1 and has used it since. Here's the changelog entry of that switch with just the mariadb stuff:

Code:
Sat Mar 23 22:49:52 UTC 2013
The big news here is the removal of MySQL in favor of MariaDB.  This
shouldn't really be a surprise on any level.  The poll on LQ showed a large
majority of our users were in favor of the change.  It's my belief that
the MariaDB Foundation will do a better job with the code, be more
responsive to security concerns, and be more willing to work with the
open source community.  And while I don't think there is currently any
issue with MySQL's licensing of the community edition for commercial uses,
several threads on LQ showed that there is confusion about this, whereas
with MariaDB the freedom to use the software is quite clear.  Thanks are
due to Heinz Wiesinger for his work on transitioning the build script,
testing, and getting us all behind this move.  He's been working with
MariaDB (and their developers) for several years now.  Vincent Batts also
had a hand in the early discussions here -- he met Daniel Bartholomew of
MariaDB on a train last year and got a copy of the source to play with to
pass the time on the journey (ah, the miracle of thumbdrives :), and was
impressed with not only MariaDB itself, but also with the welcome that
Slackware was getting.  We expect they'll be responsive to any concerns
we have.  In the vast majority of situations, MariaDB is entirely
compatible with existing MySQL databases and will drop right in with no
changes required.  There's an article available outlining the areas in
which MariaDB differs from MySQL that I'd recommend reading:
  https://kb.askmonty.org/v/mariadb-versus-mysql-compatibility/
Thanks to the MariaDB Foundation!  We look forward to working with you.
ap/mariadb-5.5.30-x86_64-1.txz:  Added.
ap/mysql-5.5.29-x86_64-1.txz:  Removed.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can MySQL log on via SSH/bash? mysql:x:27:101:MySQL Server:/var/lib/mysql:/bin/bash Ujjain Linux - Newbie 2 04-24-2009 02:21 PM
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL" rebelde Linux - Software 2 03-13-2009 10:32 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration