base mysql fynction creat