eGW 1.6rc3 + DB error

View: New views
3 Messages — Rating Filter:   Alert me  

eGW 1.6rc3 + DB error

by laco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: eGW 1.6rc3 + DB error

by gara.nt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Re: eGW 1.6rc3 + DB error

by laco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.