RE: Fatal error: Call to undefined function: mysql_conne ct() ......

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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:  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:  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: 
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:  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:   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







-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux