TAILIEUCHUNG - MySQL Administrator's Bible- P12

MySQL Administrator's Bible- P12: Với tập trung đặc biệt vào việc phát hành lớn tiếp theo của MySQL, nguồn tài nguyên này cung cấp một khuôn khổ vững chắc cho bất cứ ai mới vào MySQL hoặc chuyển từ một nền tảng cơ sở dữ liệu, cũng như các quản trị MySQL kinh nghiệm. Các bộ đôi tác giả cao hồ sơ cung cấp bảo hiểm thiết yếu của các nguyên tắc cơ bản của phạm vi bảo hiểm cơ sở dữ liệu quản lý, bao gồm cả cách tiếp cận độc đáo MySQL của các tính năng cơ sở. | Logging and Replication When changes are made to the database mysqld writes to binary logs which are used in the replication process. Much of this chapter concerns configuration options that are used to manage both logging and replication. These options can be configured from server startup using the command line or set in the configuration file. Unless the material specifically says that an option can only be configured from the command line or the configuration file either method is possible. In addition many of the configuration options can be controlled at server runtime. IN THIS CHAPTER Logging in MySQL Configuring replication Replication topologies Correcting data Log Files Four log files are used by mysqld the error log the binary log the general query log and the slow query log. A fifth log type the relay log is used by a slave server. If the logs are enabled mysqld writes them to the data directory unless otherwise specified. By default no logging is enabled. r - g If you find that an error log is being written Io when the configuration file does not enable the error log there is no need to worry. Some startup scripts specify error log files. These startup scripts are dependent upon the installation. Error log The error log contains entries for when the mysqld daemon started and stopped and also any critical errors that occur while the server is running. 517 Part III Core MySQL Administration Information such as when the event scheduler executes an event and when replication starts and stops is also written to the error log. On some operating systems the error log additionally will write a stack trace if mysqld dies. This stack trace can be very useful for troubleshooting system failures. The error log is a plain text file. To enable the error log specify the log-error option. The error log will be written to the data directory using the format . To customize the filename give the log-error option a filename such as log-error var log .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.