[wplug] MySQL help?

Scott Bourns scott at scottbourns.com
Mon Jun 9 15:20:30 EDT 2003


I did notice the following commented out, so I uncommented and restart
apache, but no love:

extension=mysql.so

But, I installed via rpm.

Scott


On 6/9/03 2:58 PM, "Chris" <vze2f6h6 at verizon.net> wrote:

>>>> -----Original Message-----
>>>> From: wplug-admin at wplug.org [mailto:wplug-admin at wplug.org] On Behalf Of
>>>> Scott Bourns
>>>> Sent: Monday, June 09, 2003 1:18 PM
>>>> To: wplug at wplug.org
>>>> Subject: [wplug] MySQL help?
>>>> 
>>>> Problem: I can log in from localhost, via telnet or terminal, and do
>>>> whatever I want to the tables I'm testing; but I can't access the MySQL
>>>> tables remotely and a simple PHP page with mysql_connect() returns:
>>>> 
>>>> Fatal error :  Call to undefined function:  mysql_connect() in
>>>> /var/www/html/mysqltest.php on line 2
>>>> 
>>>> --------------
>>>> 
>>>> Any ideas?
>>>> 
>>>> Thanks in advance!
>>>> 
>>>> Scott
>>>> 
>>> 
>>> It's been a while since I used it but try calling "php_info();"  I think
>>> that's it.
>>> 
>>> This should tell you if it's been complied for mysql or not.
>>> 
>>> Chris Romano
>>> 
>>> _______________________________________________
>>> wplug mailing list
>>> wplug at wplug.org
>>> http://www.wplug.org/mailman/listinfo/wplug
>>> 
>>> 
>> -----Original Message-----
>> From: wplug-admin at wplug.org [mailto:wplug-admin at wplug.org] On Behalf Of
>> Scott Bourns
>> Sent: Monday, June 09, 2003 2:11 PM
>> To: wplug at wplug.org
>> Subject: Re: [wplug] MySQL help?
>> 
>> Hey, it's:
>> 
>> phpinfo();
>> 
>> Just sent an attached html file - too big according to admin, so here's
>> the
>> attached text file.
>> 
>> See anything?
>> 
>> Thanks for the phpinfo(); tip!
>> 
>> Scott
>> 
>> 
>> 
> 
> It looks like it is compiled with MySQL support.  Look at your configure
> options and
> 
> "supported databases    MySQL
> ODBC
> PostgreSQL
> Microsoft SQL Server
> FrontBase
> Oracle 8 (not really)
> Sybase-CT"
> 
> How was this installed?  Source or RPM?
> 
> Chris Romano
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 
> 




More information about the wplug mailing list