• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

$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