extract simple mysql embedding code