[MDBF-82] Detect if the mariadb> client is installed locally Created: 2020-05-25  Updated: 2022-02-01  Due: 2020-06-12

Status: Closed
Project: MariaDB Foundation Development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Kaj Arnö Assignee: Robert Bindar
Resolution: Unresolved Votes: 0
Labels: jupyter
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
PartOf
is part of MDBF-55 Development of Jupyter maria kernel, ... Closed

 Description   

detect if the mariadb> client is installed locally

  • if not, issue error “Error: No mariadb> command line client found in $xx-path (/home/robert/this/that); please install MariaDB from mariadb.org/download”


 Comments   
Comment by Vicențiu Ciorbaru [ 2020-06-01 ]

Would it be possible to install the mariadb client via conda directly, to potentially sidestep this problem?

Comment by Kaj Arnö [ 2020-06-03 ]

Clearly an option to install the client ourselves!

Will we then always use our own client?
Is there any drawback with that? Likely not!

Comment by Robert Bindar [ 2020-06-03 ]

This needs to be researched to understand if it is possible, theoretically it should be, but my sight is blurry currently when I try to image what happens to non-debian platforms or Windows. But this is for sure something that can be useful in many ways.

Comment by Robert Bindar [ 2020-11-03 ]

As far as I can saw from researching this, it is very difficult to manage non-python dependencies (APT-like) from pip and conda, those were simply not designed to do this. So it is very hard for me to say if it's even possible to install mariadb client/server via conda or pip.

But there is another interesting idea that comes to my mind. Using a docker container programatically to deliver a ready-to-use-everywhere MariaDB installation, as cvicentiu suggested in some other MDBF task, might be a really good solution to achieve what you two are proposing here.

I'm closing the issue for now as the root feature proposed in this task is done. Please feel free to share your ideas here or in a new Jira entry requesting such a feature.

Generated at Thu Feb 08 03:35:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.