->status()
This method retrieves the current status of a remote database.
Method Syntax
$db->status();
Example usage
$status = $db->status();
echo "The status code is: $status.";
The status function returns 200
if the database is running and 500
if the database is down or cannot be reached.