Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
212
/
root
/
srv
/
data
/
.current_db
/
base
/
//proc/thread-self/root/proc/212/root/srv/data/.current_db/base/my.cnf
# Basic settings common to all MySQLs. # User specific settings # Included here to avoid to override our own settings !includedir /srv/data/etc/mysql/ [client] #port = 3306 socket = /srv/run/mysqld/mysqld.sock # This was formally known as [safe_mysqld]. Both versions are currently parsed. [mysqld_safe] socket = /srv/run/mysqld/mysqld.sock nice = 0 # The MySQL server [mysqld] # # * Basic Settings # ft_min_word_len = 3 # activate query cache for performance issues # was alread ON by default on mysql 5.5, but disabled on mysql 5.6 query_cache_type = ON # # * IMPORTANT # If you make changes to these settings and your system uses apparmor, you may # also need to also adjust /etc/apparmor.d/usr.sbin.mysqld. # user = hosting-db pid-file = /srv/run/mysqld/mysqld.pid socket = /srv/run/mysqld/mysqld.sock #port = 3306 #basedir = /usr datadir = /srv/data/db/mysql tmpdir = /srv/data/var/mysql skip-external-locking # BINDING ON LOCALHOST MIGHT BREAK AT ANY MOMENT. YOU'VE BEEN WARNED. #bind-address = 127.0.0.1 skip-networking # This replaces the startup script and checks MyISAM tables if needed # the first time they are touched myisam-recover-options = BACKUP # # * InnoDB # # On ne passe pas par les cache du client Linux, car de toutes manières, # il y en a un côté solaris et qu'on ferais un fsync sinon (évite une copie). # Conseillé dans le cas d'un NFS+ZFS+WriteCache : # http://planet.mysql.com/entry/?id=19923 # O_DIRECT I/O will only bypass the page cache on the client (on NFS) # The Linux NFS client places no alignment restrictions on O_DIRECT I/O innodb_flush_method = O_DIRECT # http://dev.mysql.com/tech-resources/articles/mysql-zfs.html#The_InnoDB_Doublewrite_buffer_and_transactional_storage # wsize de NFS doit être >= à 16k innodb_doublewrite=0 # Changing this value makes previous db unreadable # Ideally they should be set to 25 % of buffer pool size, but that would cause # problems when upgrading from an offer to another innodb_log_file_size = 8M innodb_fast_shutdown = 0 innodb_file_per_table=1 innodb_file_format=barracuda innodb_large_prefix=1 # # * Logging and Replication # # Both location gets rotated by the cronjob. # Be aware that this log type is a performance killer. # As of 5.1 you can enable the log at runtime! #general_log_file = /srv/data/var/log/db/mysql.log #general_log = 1 log_error = /srv/data/var/log/db/error.log # Here you can see queries with especially long duration slow_query_log = 1 slow_query_log_file = /srv/data/var/log/db/slow-queries.log long_query_time = 3 #log-queries-not-using-indexes # # The following can be used as easy to replay backup logs or for replication. # note: if you are setting up a replication slave, see README.Debian about # other settings you may need to change. #server-id = 1 #log_bin = /srv/data/var/log/db/mysql-bin.log expire_logs_days = 10 max_binlog_size = 20M #binlog_do_db = include_database_name #binlog_ignore_db = include_database_name default_storage_engine=InnoDB # * BDB #skip-bdb # * Security Features # # For generating SSL certificates I recommend the OpenSSL GUI "tinyca". # # ssl-ca=/etc/mysql/cacert.pem # ssl-cert=/etc/mysql/server-cert.pem # ssl-key=/etc/mysql/server-key.pem local-infile = 1 secure_file_priv = "" [mysqldump] quick quote-names max_allowed_packet = 1M [mysql] no-auto-rehash # faster start of mysql but no tab completition [isamchk] key_buffer = 16M # # * IMPORTANT: Additional settings that can override those from this file! # The files must end with '.cnf', otherwise they'll be ignored. # #!includedir /etc/mysql/conf.d/ [mysql_upgrade] tmpdir = /srv/data/var/mysql