I have installed MySQL 5.1.73 in Oracle LINUX 5 server. Just after RPM installation, I checked system variables and found that version is 5.1.73-community.
When I copid /usr/share/doc/MySQL-server-community-5.1.73/my-medium.cnf to /etc/my.cnf
I got 5.1.73-community-log as value of version variable.
I am curious to know about what is the difference between
5.1.73-community and 5.1.73-community-log
MySQL Version Differences – Differences Between MySQL 5.1.73-Community-Log and 5.1.73-Community
configurationMySQLmysql-5.1
Related Question
- MySQL – InnoDB Engine Not Loading After Tuning Parameters
- Mysql – How to configure the.cnf for Mysql 5.1, which is using too much CPU
- MySQL: How to clean MySQL from RHEL5
- MySQL Cluster – Practical Issues and Solutions
- Mysql – How to configure the.cnf in 5.6.17
- Thesql-community-server5.7.18 conflicts file /etc/the.cnf with Percona-Server-shared-51-5.1.73-rel14.12.625.rhel6.x86_64
Best Answer
They are the same software. The
-log
suffix is simply appended to the version string at runtime.Here's an explanation (nearly from the last century), by long-time MySQL author Paul DuBois:
I verified this in the source, in
sql/mysqld.cc
, functionset_server_version()
:I think the meaning of that comment is not that appending four extra characters to the version slows down the system, but that logging may slow down the system, so it's worth noting to the DBA that logging is enabled.