Collections:
Turn on Error Logs in MySQL
How To Turn on Error Logs in MySQL?
✍: FYIcenter.com
If you want MySQL to write critical errors into a log file, you can use the "--log-error=fileName" option at the "mysqld" command line. The tutorial exercise below shows you a good example on how to use this option:
>cd \mysql\bin >mkdir \mysql\logs >mysqld --log-error=\mysql\logs\error.log
If there is critical errors, your error log will be pretty empty:
>type \mysql\logs\error.log 20:32:21 InnoDB: Started; log sequence number 0 43665 20:32:21 [Note] mysqld: ready for connections. Version: '5.0.24-community-log' socket: '' port: 3306
⇒ What Is Binary Log File in MySQL
2017-11-29, 1709🔥, 0💬
Popular Posts:
How To Convert Binary Strings into Hexadecimal Character Strings in SQL Server? When a query returns...
What is dba.FYIcenter.com Website about? dba.FYIcenter.com is a Website for DBAs (database administr...
What is sqlservr.exe - Process - SQL Server (SQLEX?PRESS) in SQL Server? Process sqlservr.exe is the...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
How To Calculate Age in Days, Hours and Minutes in SQL Server Transact-SQL? On many Web sites, news ...