connect to mysql successfully