#727110 mysql-server config files problem with socket

Package:
mysql-server
Source:
mysql-8.0
Description:
MySQL database server and system database setup
Submitter:
Dmitry Zvorikin
Date:
2013-10-22 12:06:06 UTC
Severity:
normal
#727110#5
Date:
2013-10-22 12:02:51 UTC
From:
To:
My app needs a mysql socket in /tmp/mysql.sock

So I start digging thru the config files and see:

File: /etc/mysql/my.cnf
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
[mysqld]
socket = /tmp/mysql.sock
...

File: /etc/mysql/debian.cnf
# Automatically generated for Debian scripts. DO NOT TOUCH!

Should I actually touch the untouched /etc/mysql/debian.cnf and which
is the kosher way to change a socket place?
I suggest the proper instructions should be placed in these files.