Add Auto Reconnect
This commit is contained in:
@@ -16,11 +16,11 @@ public:
|
||||
MySQLClient();
|
||||
~MySQLClient();
|
||||
|
||||
void Connect(const std::string& hostname, const std::string& username, const std::string& password);
|
||||
void Connect(const std::string& hostname, const std::string& username, const std::string& password, const std::string& database);
|
||||
void Connect(const std::string& hostname, const std::string& username, const std::string& password, bool automaticReconnect = true);
|
||||
void Connect(const std::string& hostname, const std::string& username, const std::string& password, const std::string& database, bool automaticReconnect = true);
|
||||
|
||||
void Disconnect();
|
||||
void Reconnect();
|
||||
void Reconnect(bool automaticReconnect = true);
|
||||
bool Connected();
|
||||
|
||||
std::string Database() const;
|
||||
|
||||
Reference in New Issue
Block a user