Re: Default mysql path
| From: | David Robley | Date: | Sun, 03 Feb 2002 09:05:21 +0000 |
| Subject: | Re: Default mysql path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83301@lists.php.net to get a copy of this message | ||
In article <Pine.LNX.4.21.0202030112050.30779-
100000@lantana.iitm.ernet.in>, umashankari@lantana.tenet.res.in says...
>
>
>
> Actually i have stored mysql in my machine in /usr/lib/mysql
>
> when i am tried to connect it is giving this error.
>
> nomysql support.From the prompt itself i can connect to mysql .using php
> script i can't connect.
>
> While in the installtion also i have mentioned the path for mysql
>
> I couldn't guess where is the error
>
>
> Can u guess where is the error?.
>
>
> If u came to know this tell me as soon as possible
>
> -Uma
>
>
> On Sat, 2 Feb 2002, David Jackson wrote:
>
> > should be /usr/local/mysql.
> >
> > "Uma Shankari T." wrote:
> > >
> > > Hello,
> > >
> > > I have installed php and mysql in my machine.By default in which path
> > > php check for mysql
> > >
> > > Anyone can know this tell to me as soon as possible
> > >
> > > -Uma
This seems to be an ongoing case of you aren't quite understanding or
listening to what you are being advised. If in fact you have installed
mysql in /usr/lib/mysql (which seems an odd place) then configuring php
with
--with-mysql=/usr/lib/mysql
should work. And as I think you have been advised, looking at a script
with phpinfo() in it should tell you what stuff your compile has
successfully included.
--
David Robley
Temporary Kiwi!