On Fri, Jun 28, 2013 at 05:26:31PM +0530, Gaurav Aradhye wrote:
> Hi all,
> 
> I am using a management server and hence db server on remote host which is
> not local.
> While running test cases, Whenever I try to get the dbclient, it throws
> error " Access denied for user 'username@ip' (using password: YES)"

Is the 'ip' of localhost or the remote machine where the mysql-server
is running? Can you show the snippet of config where the dbSvr is
configured?

> 
> While I have kept the Db server ip, username and password values in config
> file, still in the error message it shows that it's trying to connect
> localhost only.
>From what I can see, it should be connecting to the remote host only.

> Is there any method to tell marvin lib to explicitly use remote host by
> passing its ip and other values? It seems that the values are defaulted to
> "localhost" in all the library functions.

marvin connects to the db provided in the config file. The values are
defaulted to localhost only if no remote host information is given.

> 
> Any directions on this?
> 
> Regards,
> Gaurav

-- 
Prasanna.,

------------------------
Powered by BigRock.com

Reply via email to