RE: [PHP-DB] Fatal error: Call to undefined function: mysql_conne ct() ......
| From: | Jeffrey_N_Dyke at Keane dot com | Date: | Mon, 14 Oct 2002 15:46:29 +0000 |
| Subject: | RE: [PHP-DB] Fatal error: Call to undefined function: mysql_conne ct() ...... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22385@lists.php.net to get a copy of this message | ||
what are you passing for module(the first argument for dbx_connect) it
should be DBX_MYSQL, or mysql, if that fails, recompile without the shared
argument, and i bet that would work
"Vyas, Bhavin"
<Bhavin.Vyas@247Real To:
"'Jeffrey_N_Dyke@Keane.com'" <Jeffrey_N_Dyke@Keane.com>, "Vyas,
Media.com> Bhavin" <Bhavin.Vyas@247RealMedia.com>
cc: "'php-db@lists.php.net'"
<php-db@lists.php.net>
10/14/2002 11:43 AM Subject: RE: [PHP-DB] Fatal error: Call to
undefined function:
mysql_conne ct() ......
Thanks for the info. Now, I am getting the following error:
Warning: dbx: module '1' not loaded or not supported.
If any one has any ideas....
Thanks,
Bhavin.
-----Original Message-----
From: Jeffrey_N_Dyke@Keane.com [mailto:Jeffrey_N_Dyke@Keane.com]
Sent: Monday, October 14, 2002 11:29 AM
To: Vyas, Bhavin
Cc: 'php-db@lists.php.net'
Subject: RE: [PHP-DB] Fatal error: Call to undefined function:
mysql_conne ct() ......
I think this is how it works.....if you're using dbx then you need to
connect using dbx_connect and not mysql_connect
and i don't think that [shared] is a valid argument.
I only connect to mysql and M$Sql so i have configured to connect to those
specifiacally.
I would reconfigure using -with-mysql=/path/to/mysql
but, i am on Solaris8, so you may want to get other advice from someone
running RH
hth
jd
"Vyas, Bhavin"
<Bhavin.Vyas@247Real To:
"'Jeffrey_N_Dyke@Keane.com'" <Jeffrey_N_Dyke@Keane.com>
Media.com> cc:
"'php-db@lists.php.net'" <php-db@lists.php.net>
Subject: RE: [PHP-DB]
Fatal error: Call to undefined function:
10/14/2002 11:14 AM mysql_conne ct() ......
The only other place it shows up is in the dbx section
DBX
dbx support enabled
dbx version 1.0.0
supported databases MySQL<br />ODBC<br />PostgreSQL<br />Microsoft SQL
Server<br />FrontBase
There isn't a 'mysql' section.
I am not sure if [shared] is allowed, it should be considering that the
version is 4.1.2 and this install was default RH7.3.
Is there a way to check and make sure?
Thanks,
Bhavin.
-----Original Message-----
From: Jeffrey_N_Dyke@Keane.com [mailto:Jeffrey_N_Dyke@Keane.com]
Sent: Monday, October 14, 2002 11:04 AM
To: Vyas, Bhavin
Cc: 'php-db@lists.php.net'
Subject: Re: [PHP-DB] Fatal error: Call to undefined function:
mysql_connect() ......
does the mysql section show up in phpinfo() ? is [shared] allowed in that
configure argument?
|-------------------------------------|
| Jeff | KeaneIT - Presidents Landing |
| | Suite: 200 |
| Outside: 617 -517-1772 | E-mail: |
| jd@keane.com |
| [ Mailing: 10 Presidents Landing |
| Medford, MA 02155 USA ] |
|-------------------------------------|
"Vyas, Bhavin"
<Bhavin.Vyas@247Rea To:
"'php-db@lists.php.net'" <php-db@lists.php.net>
lMedia.com> cc:
Subject: [PHP-DB] Fatal
error: Call to undefined function: mysql_connect() ......
10/14/2002 10:57 AM
I get the following error:
Fatal error: Call to undefined function: mysql_connect()
on php 4.1.2.
It *has* been compiled with-mysql...here is a snippet from phpinfo()
'--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr'
Any ideas why I am getting the error?
Thanks,
Bhavin Vyas.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php