You are not logged in.

#1 2017-04-27 14:54:09

dotvezz
Member
Registered: 2013-03-27
Posts: 2

[Solved] Is /usr/bin/mysql no longer provided by the mariadb package?

Morning everyone. I updated mariadb from 10.1.21-1 to 10.1.22-1 today and noticed something strange: The `usr/bin/mysql` binary was missing. Looking at the package contents on the mariadb package page, I noticed it doesn't list that particular file. Downgrading back to 10.1.21.1 brought it back.

I checked the MySQL page on the wiki and it doesn't seem to mention any change. Has that particular binary been moved to a different package? Does the wiki need to be updated?

Last edited by dotvezz (2017-04-27 14:59:21)

Offline

#2 2017-04-27 14:58:27

dotvezz
Member
Registered: 2013-03-27
Posts: 2

Re: [Solved] Is /usr/bin/mysql no longer provided by the mariadb package?

After a few more minutes of clicking around, I noticed that /usr/bin/mysql is provided by `mariadb-clients` and not `mariadb` - not sure how I deleted it, but turns out it was my fault.

Offline

#3 2017-04-27 14:58:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [Solved] Is /usr/bin/mysql no longer provided by the mariadb package?

It is provided by the mariadb-clients package which is required as a dependency of mariadb.  The only way you could update and not have it is if you did a partial upgrade.

EDIT: oops, this was cross posted with the above.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2017-04-27 14:59:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] Is /usr/bin/mysql no longer provided by the mariadb package?

% pkgfile /usr/bin/mysql
extra/mariadb-clients
community/percona-server-clients

Edit: wow, way too slow

Last edited by Scimmia (2017-04-27 15:00:13)

Offline

Board footer

Powered by FluxBB