MySQL config (including PROD distribution) + submenu generation fixed