Answer the question
In order to leave comments, you need to log in
Is it possible to change the information in mysql version output?
The question, so to speak, is only for the sake of sporting interest.
Is it possible from this:
[email protected]: mysql --version
mysql Ver 15.1 Distrib 5.5.68-MariaDB, for Linux (x86_64) using readline 5.1
[email protected]: mysql --version
mysql Ver 15.1 Distrib 10.1.44-MariaDB, for Linux (x86_64) using readline 5.1
Answer the question
In order to leave comments, you need to log in
For the sake of sport, rename `which mysql` and write a script called mysql that will give you what you need with the --version argument, and pass the rest of the options to the renamed real mysql
Find where a string is pulled from
Ver 15.1 Distrib 10.1.44-MariaDB, for Linux (x86_64) using readline 5.1
, replace/change if possible via text editor (?)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question