Creating mysql db connection