« Return to Thread: eGW 1.6rc3 + DB error

Re: eGW 1.6rc3 + DB error

by laco :: Rate this Message:

Reply to Author | View in Thread

Thank you, but propblem was with the webhosting provider.
In this case don't work host name :/tmp/mysql50.sock.
The provaider change the host name end now it work grate.

gara.nt wrote:
laco wrote:
Hi

I try to install eGW1.6rc3. When I want install application, a get these error:

SQLSTATE[HY000] [2005] Unknown MySQL server host ':/tmp/mysql50.sock' (3)

In header.inc.php is:

$GLOBALS['egw_domain']['default'] = array(
        'db_host' => ':/tmp/mysql50.sock',
        'db_port' => '',
        'db_name' => 'grup16',
        'db_user' => 'grup16',
        'db_pass' => 'xxx',
        'db_type' => 'mysql',

Please help me. Thank you.

Laco form Slovakia
Try this:

1. make sure in my.cnf  uncommented:  bind-address 127.0.0.1

2.
$GLOBALS['egw_domain']['default'] = array(
        'db_host' => '127.0.0.1',
        'db_port' => '3306',
        'db_name' => 'grup16',
        'db_user' => 'grup16',
        'db_pass' => 'xxx',
        'db_type' => 'mysql',


my server star working without tis error.

 « Return to Thread: eGW 1.6rc3 + DB error