#pragma once #include "config.h" #if USE_MYSQL #include #include namespace mysqlxx { class PoolWithFailover; } namespace DB { mysqlxx::PoolWithFailover createMySQLPoolWithFailover( const StorageMySQL::Configuration & configuration, const MySQLSettings & mysql_settings); mysqlxx::PoolWithFailover createMySQLPoolWithFailover( const std::string & database, const StorageMySQL::Configuration::Addresses & addresses, const std::string & username, const std::string & password, const MySQLSettings & mysql_settings); } #endif