Query mysql info and show out