MySQL Forums
Forum List  »  Security

Re: How to debug mysqld when you start first time from source code build
Posted by: Georgi Kodinov
Date: April 08, 2018 05:49AM

Debugging through mysqld_safe (a script) is non-trivial and not convenient.
In principle one could edit the script and add a gdb in front of the mysqld command.
But in all of my years developing mysql I'm yet to find a case where I need to do that.
I usually just make sure I use the right command line (through tracing mysqld_safe etc) and then I debug mysqld (the native server binary) as usual.

Georgi "Joro" Kodinov
MySQL SrvGen team lead
Plovdiv, Bulgaria

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to debug mysqld when you start first time from source code build
399
April 08, 2018 05:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.