php and mysql

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


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008
David Kingsly
 
Posts: n/a
Default php and mysql

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
__________________


Reply With Quote
  #2 (permalink)  
Old 04-10-2008
Erwin Moller
 
Posts: n/a
Default Re: php and mysql

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
Reply With Quote
  #3 (permalink)  
Old 04-11-2008
D. Stussy
 
Posts: n/a
Default Re: php and mysql

"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.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:42 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0