fixed bug in mysql create, added mysql read