May I know why do you want to override the default Sugar MySQL DB Manager?
In your sugar_config, you can specify which DB Manager to use, but I wouldn't recommend tweaking such core functionality - you can try to achieve what you need using some other different means.