The data directory is also the default location for other information such as log files and status files. However, under Debian and Ubuntu Linux the MySQL error log file location is as follows:
- /var/log/mysql.err - MySQL Error log file
- /var/log/mysql.log - MySQL log file
grep 'something' /var/log/mysql.err
tail -f /var/log/mysql.err
less /var/log/mysql.e
No comments:
Post a Comment