PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5
On Unix and Unix-like systems,mysqld uses the--log-error option to determine whethermysqld writes the error log to the console or a file, and, if to a file, the file name:
If
--log-erroris not given,mysqld writes the error log to the console.If
--log-erroris given without naming a file,mysqld writes the error log to a file namedin the data directory.host_name.errIf
--log-erroris given to name a file,mysqld writes the error log to that file (with an.errsuffix added if the name has no suffix). The file location is under the data directory unless an absolute path name is given to specify a different location.If
--log-erroris given in an option file in a[mysqld],[server], or[mysqld_safe]section, on systems that usemysqld_safe to start the server,mysqld_safe finds and uses the option, and passes it tomysqld.
It is common for Yum or APT package installations to configure an error log file location under/var/log with an option likelog-error=/var/log/mysqld.log in a server configuration file. Removing the path name from the option causes the file in the data directory to be used.host_name.err
If the server writes the error log to the console, it sets thelog_error system variable tostderr. Otherwise, the server writes the error log to a file and setslog_error to the file name.
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5