• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

$config['db_port'] =

Status
Not open for further replies.

KOC2000

Chevereto Member
Hello,

If you've mysql on a different port you wont be able to connected.

So setting the "$config['db_port'] =" is useless for now, can you fix this please?

Thank you.
 
The system uses this code to add the port to the connection:

PHP:
            $pdo_connect = 'mysql:host='.__CHV_DB_HOST__.';dbname='.__CHV_DB_NAME__;
            if(check_value(__CHV_DB_PORT__)) {
                $pdo_connect .= ';port:'.__CHV_DB_PORT__;
            }
            $this->db = new PDO($pdo_connect, __CHV_DB_USER__, __CHV_DB_PASS__, array(PDO::ATTR_TIMEOUT => 30, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));

Anyway, I like to try this on your server. Please send me FTP details ;)
 
How do I send you FTP info?

I had to to add port to db_host for now.
PHP:
$config['db_host'] = '127.0.0.1:33006';
 
The problem is that this line is wrong:
PHP:
$pdo_connect .= ';port:'.__CHV_DB_PORT__;

Should be like this one:
PHP:
$pdo_connect .= ';port='.__CHV_DB_PORT__;
 
Status
Not open for further replies.
Back
Top