This is a discussion on php and mysql within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I get an error message while trying to follow these procedures: http://www.howtoforge.com/intrusion-...on-ubuntu-7.10 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I get an error message while trying to follow these procedures:
http://www.howtoforge.com/intrusion-...on-ubuntu-7.10 Here is the error: Fatal error: Call to undefined function mysql_connect() in /var/www/adodb5/drivers/adodb-mysql.inc.php on line 363 Here is the url I am trying to access: http://my.ip.address/web/base-1.3.9/...p?action=check ( ofcourse I removed my ip before pasting here ) Is there any logs I can look at to get more information about the issue? Thanks __________________ |
|
|||
|
David Kingsly schreef:
> I get an error message while trying to follow these procedures: > http://www.howtoforge.com/intrusion-...on-ubuntu-7.10 > Here is the error: > Fatal error: Call to undefined function mysql_connect() in > /var/www/adodb5/drivers/adodb-mysql.inc.php on line 363 > Here is the url I am trying to access: > http://my.ip.address/web/base-1.3.9/...p?action=check ( ofcourse I removed > my ip before pasting here ) > Is there any logs I can look at to get more information about the issue? > Thanks > __________________ > > Hi David, That error means that you didn't install mysql right. The fact that it is adodb that is complaining merely means that the first time things go wrong is in that database abstraction layer. (So adodb is fine) Maybe you didn't modify php.ini to include mysql functionality? Read up here: http://nl3.php.net/manual/en/ref.mysql.php I advise you to first check your mysql functionality using basic functions provided by PHP. It that is fine, start using adodb. Regards, Erwin Moller |
|
|||
|
"Erwin Moller"
<Since_humans_read_this_I_am_spammed_too_much@spam yourself.com> wrote in message news:47fdd61a$0$14349$e4fe514c@news.xs4all.nl... > David Kingsly schreef: > > I get an error message while trying to follow these procedures: > > http://www.howtoforge.com/intrusion-...on-ubuntu-7.10 > > Here is the error: > > Fatal error: Call to undefined function mysql_connect() in > > /var/www/adodb5/drivers/adodb-mysql.inc.php on line 363 > > Here is the url I am trying to access: > > http://my.ip.address/web/base-1.3.9/...p?action=check ( ofcourse I removed > > my ip before pasting here ) > > Is there any logs I can look at to get more information about the issue? > > Thanks > > __________________ > > Hi David, > > That error means that you didn't install mysql right. > The fact that it is adodb that is complaining merely means that the > first time things go wrong is in that database abstraction layer. > (So adodb is fine) > > Maybe you didn't modify php.ini to include mysql functionality? > > Read up here: > http://nl3.php.net/manual/en/ref.mysql.php > > I advise you to first check your mysql functionality using basic > functions provided by PHP. It that is fine, start using adodb. > > Regards, > Erwin Moller Additionally, if you recently upgraded from PHP v4 to v5, there is a difference in the default compilation settings, as MySQL is no longer compiled in by default. Make certain that you have a "--with-mysql" on your configure line. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|