comp_err यूटिलिटी errmsg.sys फ़ाइल बनाती है जिसका उपयोग mysqld एरर कोड के लिए एरर मैसेज निर्धारित करने के लिए करता है। यह हेडर फ़ाइलें भी जनरेट करता है।
आह्वान
shell> comp_err [options]
मुख्य विकल्प
| विकल्प | विवरण |
|---|---|
--charset=dir_name, -C | कैरेक्टर सेट डायरेक्टरी (डिफ़ॉल्ट: ../sql/share/charsets) |
--debug=debug_options, -# | डीबग लॉग लिखें (डिफ़ॉल्ट: d:t:O,/tmp/comp_err.trace) |
--debug-info, -T | निकास पर डीबग जानकारी प्रिंट करें |
--errmsg-file=file_name, -H | एरर मैसेज फ़ाइल नाम (डिफ़ॉल्ट: mysqld_errmsg.h; 8.0.18+) |
--header-file=file_name, -H | एरर हेडर फ़ाइल नाम (डिफ़ॉल्ट: mysqld_error.h) |
--in-file-errlog=file_name, -e | एरर लॉग मैसेज परिभाषित करने वाली इनपुट फ़ाइल (डिफ़ॉल्ट: ../share/messages_to_error_log.txt) |
--in-file-client=file_name, -c | क्लाइंट एरर मैसेज इनपुट फ़ाइल (डिफ़ॉल्ट: ../share/messages_to_clients.txt) |
--name-file=file_name, -N | एरर नाम फ़ाइल (डिफ़ॉल्ट: mysqld_ername.h) |
--out-dir=dir_name, -D | आउटपुट बेस डायरेक्टरी (डिफ़ॉल्ट: ../sql/share/) |
--out-file=file_name, -O | आउटपुट फ़ाइल (डिफ़ॉल्ट: errmsg.sys) |
--version, -V | संस्करण जानकारी दिखाएं और बाहर निकलें |
नोट
- MySQL 8.0.19 से पहले एरर जानकारी
errmsg-utf8.txtसे आती थी। - 8.0.19+ में
messages_to_error_log.txtऔरmessages_to_clients.txtउपयोग होती हैं।