[mysql]: multiple fixes