[development] DB best pratices, improving portability, MySQL ANSI mode