[MDEV-14978] Client programs to use $MYSQL_HOST consistently Created: 2018-01-17  Updated: 2023-03-18

Status: Open
Project: MariaDB Server
Component/s: Scripts & Clients
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Anmol Sethi Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: beginner-friendly


 Description   

`mysql` will use `$MYSQL_HOST` as the default host but `mysqldump` does not. It should.



 Comments   
Comment by Elena Stepanova [ 2018-01-23 ]

Why should it, is it documented somewhere? And why specifically mysqldump, out of all client programs?

Comment by Anmol Sethi [ 2018-01-23 ]

For consistency reasons. If mysql does it, why not mysqldump?

Comment by Elena Stepanova [ 2018-01-23 ]

But then, why not mysql_upgrade, or mysqltest, or mysqladmin, etc?

Comment by Anmol Sethi [ 2018-01-23 ]

By all means. I don't think it should be restricted to mysqldump, just thats where I encountered the inconsistency.

Comment by Elena Stepanova [ 2018-01-23 ]

Okay then, I've changed it to a request for all client programs

Comment by Otto Kekäläinen [ 2023-03-18 ]

Posting PR links here as the Github integration is broken and does not show links to all people reading this Jira:

Generated at Thu Feb 08 08:17:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.