title: Should I ping mysql server before each query?
body: <p>So I was wondering whether I should or should not ping the mysql server (mysqli_ping) to ensure that the server is always alive before running query?</p>