[LUNI] Advice on how to troubleshoot mysql_connect() errors...
Erik Costlow
erik at uhacc.org
Thu Dec 23 08:11:27 CST 2004
Did you compile this version of PHP yourself?
That message indicates that his version of PHP does not have mysql support.
PHP needs the "--with-mysql" flag at compile time (--with-mysql=/headers
is better). Another good flag is "--with-mysql-sock"
-Erik
Joel F. Hacker said:
> All,
>
> I just recently installed Mandrake 10.1 Official,
> and in moving over all my old databases and
> cgi/php scripts, I keep getting this error when I
> try to run my old php files...
>
> Fatal error: Call to undefined function: mysql_connect
>
> I have already created the database, and loaded all
> the data. I am not too good at understanding mysql
> users and passwords, but I have sufficiently added a
> user and password so that I can run mysqladmin, but
> I am really struggling in trying to find out what else I
> have to do to get php to connect to the database.
>
> (Also, I have perl scripts running just fine)
>
> Any ideas would be greatly appreciated.
>
> Thanks!
>
> Joel
> --
> Linux Users Of Northern Illinois - Technical Discussion
> http://luni.org/mailman/listinfo/luni
>
--
Costlow Corporation
http://www.costlowcorp.com
More information about the luni
mailing list