Re: Using PHP to connect to mysql 4
| From: | JJ Harrison | Date: | Sun, 25 May 2003 08:05:46 +0000 |
| Subject: | Re: Using PHP to connect to mysql 4 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148903@lists.php.net to get a copy of this message | ||
Well, any suggestions how to fix it? (I'm running a just downloaded version
of php 4.3.1)
--
---
JJ Harrison
lizner2002@yahoo.com.au
"Seamus" <seamusonline@hotmail.com> wrote in message
news:20030525070002.6661.qmail@pb1.pair.com...
> I think your mysql configure is incorrect.
> "Jj Harrison" <webmaster@tececo.com> дÈëÏûÏ¢ÐÂÎÅ
> :20030525063335.84495.qmail@pb1.pair.com...
> > I have just installed mysql 4 because of a difficulty i had encountered
> with
> > mysql 3.23 (probably my fault). When i use the php function to connect
to
> > the mysql server i get this error:
> >
> > Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to
> MySQL
> > server on 'localhost' (10061) in c:\program files\apache
> > group\apache\htdocs\mestrl\includes\db.func.php on line 4
> >
> > Does Anyone know how to connect to a mysql 4 server using php?
> >
> > NOTE:
> >
> > phpMyAdmin-2.5.0 seems to be able to connect and run fine, while
anything
> > else i've got does not work (I have imported a database dump so all data
> is
> > there).
> >
> >
> > --
> > ---
> > JJ Harrison
> > lizner2002@yahoo.com.au
> >
> >
>
>