[MDEV-30153] ad hoc client versions are confusing Created: 2022-12-05 Updated: 2023-03-21 Resolved: 2023-01-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Fix Version/s: | 11.0.1 |
| Type: | Task | Priority: | Critical |
| Reporter: | Daniel Black | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Preview_11.0 | ||
| Description |
|
While the version from client programs is rarely observed, sometimes its just used incorrectly like https://stackoverflow.com/questions/74601477/best-directory-for-data-exchange-between-php-and-mariadb-on-ubuntu to describe the server version. As these versions are never used without the compiled server version beside it, lets just drop the client version as the updating pattern for these at best is sparadic. |
| Comments |
| Comment by Michael Widenius [ 2022-12-07 ] | ||||
|
I think it's a really bad idea to remove the independent version number from clients:
There are some packages that has changed all tools to just print the package version, like net-tools, gzip, coreutils. However this is not a good reason alone to change things. | ||||
| Comment by Andrew Hutchings [ 2022-12-08 ] | ||||
|
monty I think these are potentially arguments towards putting the client tools into a separately maintained repo as well. | ||||
| Comment by Sergei Golubchik [ 2022-12-11 ] | ||||
|
An alternative to removing the version would be making it less likely to cause a confusion.
we could change it to one of
or something along those lines | ||||
| Comment by Sergei Golubchik [ 2022-12-12 ] | ||||
|
After talking to monty, I've implemented
| ||||
| Comment by Ray Sleepy [ 2022-12-21 ] | ||||
|
As a new user of MariaDB (and an on and off user of MySQL and *nix/Linux), I did find that "mariadb Ver 15.1" jumped out at me and confused me a bit. But "Distrib 10.11.2-MariaDB" was sufficient to assure me that I wasn't daydreaming.. I feel that most users (even DBAs) of MariaDB have no direct need to think of mariadbd. They are not expected to interact with mariadbd directly, but rather systemctl mariadb start, service mariadb start, etc, so when they see mariadb, they would naturally associate it with the server. In a way, one could argue that it's "unfortunate" that the name of the client is the same as the database. e.g., sqlplus (oracle), sqlcmd (sqlserver), psql (postgresql), etc don't have this "issue." But it's neither here nor there.. Anyway, adding the verbiage "client" is a very good idea to clarify that this is a client tool. It should definitely help decreasing confusion amongst inexperienced users. |