Your direct e-mail has problems too.
----- Original Message -----
From: "Dan Anderson" <[EMAIL PROTECTED]>
To: "johndmiller" <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 11:36 PM
Subject: Re: [PHP-DB] MySql won't connect


> Not a php expert by any means, but I get this when I use the "wrong"
ip/name
> from MySQL's perspective.
>
> My stock MySQL does not allow localhost, I need FQDN in connect.  I
suspect
> that if I looked into this more I would find that it is just a rights
issue
> and a quick GRANT or something would fix me.
>
> Dan
> ----- Original Message -----
> From: "johndmiller" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 18, 2001 10:12 PM
> Subject: [PHP-DB] MySql won't connect
>
>
> > I know that the pages that I am using worked.  I created them, then had
to
> > reload my OS.  I saved everything before erasing the HD.  I have
restored
> > the files but now I get a warning message that says MySQL Connection
> > Failed: Can't connect to local MySQL server through socket ....
> >
> > The mysql.sock does exist, there is also a pid file there pointing to
the
> > current running occurance of MySQL.
> >
> > I have root set up with a password and I am able to connect to MySQL
from
> > a promopt.  Below is the offending code.  I think there is something
that
> > I missed when I set things up.
> >
> > FYI: I am running RH7.0 and Apache
> >
> > you are welcome to check out this page:
> >
> > http://24.163.168.40/phpinfo.php
> >
> >
> >   $link = mysql_connect("localhost", "root", "secret") or
> > die("can't connect");
> >
> >
> > Last, I did look for the php-mysql module and it is on the system.
> >
> > Thanks
> >
> > John
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to