Debugging MySQL server
If you are using some of very new functionality in MySQL and facing some issues—let's say the server is crashing—you can try running mysqld with the --skip-new option. This option tells the MySQL server to disable all new and potentially unsafe functionality.
In cases where mysqld is not getting started, verify the my.cnf files, as they can interfere with the setup! You can check the arguments in my.cnf with the mysqld --print-defaults option and then start mysqld with the --no-defaults option to avoid using them.
In cases where mysqld starts to eat up memory or CPU or hangs, you can check mysqladmin processlist status and find out if a query executed by someone is taking a long time. In cases where you are facing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access