At 03:42 PM 2/2/2004 +0100, DiZEM PGC wrote:
I try connecting to an existing mysql DB. The first time I directly called
mysql_connect with all required
params (Path/Database,User,Password) and established a connection without
problems.
Second time I have used a script that includes a self-written
You need to install the php-mysql rpm. You can get this on your RedHat CD,
or through apt-get:
apt-get install php-mysql
Get apt here: http://apt.freshrpms.net/
Does the PHP project ever plan to do something as impressive as CPAN so
users won't have to reinstall or recompile just to extend its
Thanks!
I was able to get native mysql support by adding
extension=mysql.so
to php.ini. So now mysql_connect() works
John Coder wrote:
While Micah is correct, you do have mysql support on php but as a dbs
not the built in php fuctions. Therefore you must use the dbx functions
instead.
It doesn't appear you have the PHP MySQL functions installed. When you run
phpinfo() you should get something like:
mysql
MySQL Supportenabled
Active Persistent Links1
Active Links1
Client API version3.23.39
MYSQL_MODULE_TYPEbuiltin
MYSQL_SOCKET/var/lib/mysql/mysql.sock
MYSQL_INCLUDE
MYSQL_LIBS
While Micah is correct, you do have mysql support on php but as a dbs
not the built in php fuctions. Therefore you must use the dbx functions
instead.
John Coder
On Sat, 2002-11-02 at 14:35, Micah Stevens wrote:
It doesn't appear you have the PHP MySQL functions installed. When you run