NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Drupal Configuration



On Wed, Oct 21, 2009 at 03:43:59PM +0100, Richard Ibbotson wrote:
> Peter
>  
> > How are you telling Drupal to connect? MySQL makes a difference
> >  between "localhost" and "127.0.0.1" (which is totally bogus).
> >  localhost means "connection through the socket" and 127.0.0.1
> >  means "connection through the network interface lo0".
> 
> Im telling Drupal to connect as localhost but I've also tried 
> 127.0.0.1.  Still doesn't connect.
> 
> > Does the user you're connecting as have access to the drupal
> >  database? Did you perform the grant  for <username>@localhost or
> > <username>@127.0.0.1?  This should match the connection method.
> 
> It was grant for <username>@localhost.  Maybe I should try 
> <username>@127.0.0.1.  Maybe I'm being a slow at something here ?

Does the user have a password?  What does the database line in
settings.php look like?  Did you try connecting as the same user
using the commandline mysql client?

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpEYoV_QxMys.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index