connect to mysql and show the result