```sql
apt-get install mysql-server

create database db;
create table db.test(a Int);

CREATE USER 'myuser'@'%' IDENTIFIED BY 'mypass';
GRANT ALL ON *.* TO 'myuser'@'%';
FLUSH PRIVILEGES;
```

mysql client shows different error messages in case the wrong password/user VS host:port
```
# mysql -h 127.0.0.1 -u myuser --password=mypass1
ERROR 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES)

mysql -h 127.0.0.1 --port 9999 -u myuser --password=mypass
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1:9999' (111)
```

clickhouse shows the same error message

```
select * from mysql('127.0.0.1', 'db', 'test', 'myuser1', 'mypass');
DB::Exception: Exception: Connections to all replicas failed: db@127.0.0.1:3306 as user myuser1. (POCO_EXCEPTION)


select * from mysql('127.0.0.1:9999', 'db', 'test', 'myuser', 'mypass');
DB::Exception: Exception: Connections to all replicas failed: db@127.0.0.1:9999 as user myuser. (POCO_EXCEPTION
```
const Poco::Util::AbstractConfiguration & config_,
        const std::string & config_name_,
        const unsigned default_connections_,
        const unsigned max_connections_,
        const size_t max_tries_)
    : max_tries(max_tries_)
    , shareable(config_.getBool(config_name_ + ".share_connection", false))
    , wait_timeout(UINT64_MAX)
{
    if (config_.has(config_name_ + ".replica"))
    {
        Poco::Util::AbstractConfiguration::Keys replica_keys;
        config_.keys(config_name_, replica_keys);
        for (const auto & replica_config_key : replica_keys)
        {
            
            if (replica_config_key.starts_with("replica"))
            {
                std::string replica_name = config_name_ + "." + replica_config_key;
                int priority = config_.getInt(replica_name + ".priority", 0);
                replicas_by_priority[priority].emplace_back(
                    std::make_shared<Pool>(config_, replica_name, default_connections_, max_connections_, config_name_.c_str()));
            }