This article "My MySQL Learning experience (15)" will explain the MySQL logThe logs in MySQL are divided into 4 categories, and using these log files, you can see what's happening inside MySQL.respectively is1, error log: Log the MySQL service start,
Transferred from: http://blog.chinaunix.net/uid-24250828-id-3198922.html1)/var/log/secure: Record log in system to access data files;For example: POP3,SSH,TELNET,FTP, etc. will be recorded here.2)/ar/log/btmp: Record login This information record,
Apche Log Series (1): Access log
Want to know when and what people are browsing the content of the site. See Apache's access log to know. The access log is the standard log for Apache, which explains in detail the contents of the Access log and the
1)/var/log/secure: Record the log in system Access data file;
For example: Pop3,ssh,telnet,ftp and so on will be recorded here.
2)/ar/log/btmp: Record logged in this information record, has been encoded, so must be resolved by the last;
For
Error log:By default, the error log probably records the following areas of information:1. Information during server startup and shutdown (not necessarily error messages, for example, how MySQL launches InnoDB tablespace files, how to initialize its
From: http://www.itokit.com/2012/0602/74289.html
Log category:
1. Connection time logThe connection time log is usually recorded by the/var/log/wtmp and/var/run/utmp files.
The two files cannot be directly viewed by CAT and are automatically
After the installation is complete, MySQL uses a blank password by default. You can set a password for the root user. Note the case sensitivity: mysqlSETPASSWORDFORroot @ localhostPASSWORD (admin ); log on to mysql and use the root account $ mysql --
Preface
This is a study note.The learning material comes from a log blog post from Jay Kreps.The original text is very long, but I persisted to read, the harvest is very much, also deeply to Jay's technical ability, the architecture ability and to
Preface
This is a study note.The learning material comes from a log blog post from Jay Kreps.The original text is very long, but I persisted to read, the harvest is very much, also deeply to Jay's technical ability, the architecture ability and to
Httpd log and log rotation tool, httpd log Rotation
Directory:1.1 Error Log ErrorLog1.2 access log CustomLog1.3 log rotation: rotatelogs Tool1.4 log rotation: cronolog Tool1.5 comparison between rotatelogs and cronolog
The types of logs to be
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.