List:General Discussion« Previous MessageNext Message »
From:Jørn Dahl-Stamnes Date:January 11 2010 9:08am
Subject:Re: Problem with mysql
View as plain text  
On Monday 11 January 2010 09:55, Ananda Kumar wrote:
> use mysql;
> select * from  user;
>
> see if you able to see 'r2-d2' entry in this table.
>
> also you can try this
>
> grant all on . to 'root'@'%' idenfified by
> 'secret-password';

I just found the cause of the problem... /etc/nsswitch.conf.

It said that files should be used before dns. After I changed the order, it 
worked (so did the strange sendmail problem I had).

But still I wonder why it worked on the other host, since it also had the 
order "files dns" in it's nsswitch.conf file...

Thanks for your support.

-- 
Jørn Dahl-Stamnes
homepage: http://www.dahl-stamnes.net/dahls/
Thread
Problem with mysqlJørn Dahl-Stamnes10 Jan
  • Re: Problem with mysqlMihamina Rakotomandimby11 Jan
    • Re: Problem with mysqlJørn Dahl-Stamnes11 Jan
      • Re: Problem with mysqlAnanda Kumar11 Jan
        • Re: Problem with mysqlJørn Dahl-Stamnes11 Jan
      • Re: Problem with mysqlMihamina Rakotomandimby11 Jan
      • Re: Problem with mysqlMihamina Rakotomandimby11 Jan
        • Re: Problem with mysqlJørn Dahl-Stamnes11 Jan
Re: Problem with mysqlsureshkumarilu10 Jan
Re: Problem with mysqlJørn Dahl-Stamnes10 Jan