On Wed, Aug 14, 2013 at 4:48 PM, Bruno Flueckiger <inform...@gmx.net> wrote:
> On 14.08.2013 14:21, Tony Berth wrote: > >> Dear group, >> >> I have following configuration: >> >> - latest Ubuntu amd64 server >> - VirtualBox running on the above Ubuntu server >> - openbsd 5.3 (amd64) with mysql and chive installed and running inside >> VirtualBox >> >> when I try to connect to the openbsd mysql server from mysql workbench >> installed in Ubuntu, everything works fine. >> When I try the same but calling chive from the openbsd installation, I get >> 'CDbConnection failed to open the DB connection'. What is the difference? >> >> Thanks >> > > > Hi, > > I don't have any knowledge about mysql workbench or chive. The usual > suspects > would be: > > - Wrong hostname > - Missing DNS entry for hostname > - Wrong DNS config on the OpenBSD VM > - Wrong username > - Wrong password > > It's hard to tell where the problem if you don't provide us with more > details. > > Regards, > Bruno > > I provide exact the same credentials regardless if I connect from mysql workbench or the browser by calling chive. I tried the dynamic IP provided by VirtualBox , the domain (as listed in /etc/hosts), localhost or 127.0.0.1 and all of them failed. Using mysql workbench, was able to connect via the dynamic IP. What do you mean by 'Wrong DNS config on the OpenBSD VM'? In VirtualBox I have a 'Bridged Adapter' network setting and I'm able to access the web server from the Ubuntu box by calling the assigned dynamic IP. Thanks