Do you have to the database, or are you testing via a web application ?

: Using commands like SELECT version(); and SELECT user(); .