Missing mysql_connect()?

From: Date: Sun, 04 Jun 2000 16:49:31 +0000
Subject: Missing mysql_connect()?
Groups: php.db 
Request: Send a blank email to php-db+get-191@lists.php.net to get a copy of this message
I have installed PHP4 on a system with MySQL and Apache, and tried this with MySQL configured as --with-mysql, --with-mysql=shared, and --with-mysql=/usr. Whenever I try to use the mysql_connect() function (which is sort of integral to using MySQL from PHP...) I get the following error: Fatal error: Call to undefined function: mysql_connect() in /home/fred/ public_html/test.php on line 2 The code used to invoke this is: $link = mysql_connect("localhost:3306","fred","armavirumque"); Anyone have a clue as to what would be causing this? Fred Ross s.k.a. Philippe de Minerve a.k.a. Sgath http://www.ls.net/~fred/

« previous php.db (#191) next »