It sounds like the PHP module was compiled without MySQL support.
root wrote:
>
> Hi,
>
> I'm running mysql MAX 3.23.41 on LinuxPPC, everything was installed from
> an RPM.
> My problem is whenever I try to call mysql_connect (), from a php3
> script, I got the error function not found or misconfigured .... ????
> The script is a simple form, that passes the data to be added to an
> empty database, with an empty table, both the MySQL server and Apache
> reside on the same machine, and because it's just a test, I'm entering
> as root.
> I am developing a more complex script , but I need to solve the
> connection problem first ....
> BTW ifyou define a var $link = mysql_connect ( localhost ) or .... ; ,
> which is the correct syntax ? localhost or 'localhost' ?
> Why is the command failing ??? From the console it works ....
>
> BTW The server is on a static IP without a DNS, is it correct to set
> mysql_connect (xxx.xxx.xxx.xxx) or ('xxx.xxx.xxx.xxx' when you are
> running as localhost ????
>
> Thank you
>
> Regards,
>
> Rick
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php