[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] on qube3 php not talk to mysql
- Subject: RE: [cobalt-developers] on qube3 php not talk to mysql
- From: Carlos González-Cadenas <cgonzalez@xxxxxxxxxxxxx>
- Date: Mon Jul 22 07:51:00 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
by default, php is compiled -with--mysql support in qube3..., it's only
about editing php.ini and changing
;extension=mysql.so
to uncommented
extension=mysql.so
and so on...
-----Mensaje original-----
De: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]En nombre de paulos
Enviado el: lunes, 22 de julio de 2002 15:42
Para: cobalt-developers@xxxxxxxxxxxxxxx
Asunto: RE: [cobalt-developers] on qube3 php not talk to mysql
make sure you compiled php with mysql support
./configure -with--mysql
---------- Original Message -----------
From: Carlos González-Cadenas <cgonzalez@xxxxxxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Mon, 22 Jul 2002 16:18:59 +0200
Subject: RE: [cobalt-developers] on qube3 php not talk to mysql
> Make sure you have enabled mysql support in /etc/httpd/php.ini
>
> -----Mensaje original-----
> De: cobalt-developers-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]En nombre de Davide
> Spanò
> Enviado el: lunes, 22 de julio de 2002 16:01
> Para: cobalt-developers@xxxxxxxxxxxxxxx
> Asunto: [cobalt-developers] on qube3 php not talk to mysql
>
> In my Qube3 there are php and mysql installed and both working but
> php will not talk to mysql when a script is run. With telnet I'm
> able to read and write into mysql database and the <? echo phpinfo()
> ?> command work perfectly. But if I try to talk with mysql by php as
> following:
>
> <?
> $connessione = mysql_connect("xxx", "yyy", "zzz")
> or die('I CAN'T CONNECT');
> if ($connessione) {
> $msg = "I'M CONNECTED
> }
> ?>
> <HTML>
> <HEAD>
> <TITLE>Connection to MySQL</TITLE>
> </HEAD>
> <BODY>
> <? echo "$msg"; ?>
> </BODY>
> </HTML>
> the following error message appair:
>
> Fatal error: Call to undefined function: mysql_connect() in
> /home/groups/home/web/connessione_db.php on line 3
>
> many thanks - dave@xxxxxxx
> davide spanò
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
------- End of Original Message -------
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers