mysql scripts and code