Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
-
10.2.4-1
Description
Setting a fake version string does not only change what version number clients see, but also what server version is printed to the error log.
This should either show the real version, or both the "real" and "faked" version.
Otherwise things can become really confusing when trying to analyse error logs ...
Attachments
Issue Links
- duplicates
-
MDEV-10967 Print the real version in the error log #2
-
- Closed
-
- is caused by
-
MDEV-7780 Support for faking server version
-
- Closed
-
- links to
I have
[mysqld]
version=1.2.3
in my.cnf and the startup messages in the error log look like this:
It is actually correct at the beginning of the startup messages:
161008 13:09:06 mysqld_safe Starting mysqld daemon with databases from /usr/local/mariadb-git-hartmut-MDEV-10541/var
2016-10-08 13:09:06 140571076974784 [Note] /usr/local/mariadb-git-hartmut-MDEV-10541/bin/mysqld (mysqld 10.2.3-MariaDB as 1.2.3) starting as process 7174 ...
but not at the end when the server actually becomes ready:
2016-10-08 13:09:06 140571076974784 [Note] /usr/local/mariadb-git-hartmut-MDEV-10541/bin/mysqld: ready for connections.
Version: '1.2.3' socket: '/tmp/mysql.sock' port: 3306 Source distribution