mogdbsetup with database on different server

Ask Bjørn Hansen ask at
Sat Dec 1 03:07:08 UTC 2007

On Nov 30, 2007, at 1:29 PM, Prepaid wrote:

> But the error I'm getting out is:
> Failed to connect to DBI:mysql:mogielfs;host=db1 as specified root  
> user: Can't connect to local MySQL server through socket '/var/lib/ 
> mysql/mysql.sock' (2)
> Even though it's told to connect on an external host, it's trying to  
> connecut through the local socket (which doesn't exist since mysqld  
> is not running locally).

Are you sure db1 isn't in your /etc/hosts file?

-- -

More information about the mogilefs mailing list