DSN problem

Everything which is related to the installation of phpLogCon.

DSN problem

Postby Kai on Fri Nov 30, 2007 9:50 am

Hi all,

I just installed rsyslog and phpLogCon and got to the install web page, and now I am stuck.

Whatever i seem to type in i either get the error:
Fatal error: Call to undefined function mysql_connect() in /var/www/phplogcon/db-drv/mysql.php on line 82

or

Fatal error: Call to undefined function mysql_connect() in /var/www/phplogcon/db-drv/mysql.php on line 84


I am no database admin and got no clue about DSN thingys, byt they all seems related to ODBC, and I choose just plain MySQL.

And I can connect to the server and the database localy with the credentials specified, so it seems alright.

I used this guide to make my install:
http://www.howtoforge.com/logging_with_ ... ebian_etch

I have tried to google for the problem but I am having a difficult time putting the information I find into this context.


Please help :)


Regards
Kai
Kai
New
 
Posts: 1
Joined: Fri Nov 30, 2007 9:44 am

Postby mmeckelein on Fri Nov 30, 2007 10:41 am

Hi Kai,

you are running a windows web server with php, your mysql database is located on debian, is that correct? Sorry for asking so blunt, is mysql installed and activated in php.ini on your web server?

Michael
mmeckelein
Adiscon Support
 
Posts: 167
Joined: Wed Mar 12, 2003 12:07 pm

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron