ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Александр Леутин" <leutin@rambler.ru>
To: community@altlinux.ru
Subject: [Comm] MySQL, NetAcct-MySQL and Netstat 3.03
Date: Sun, 30 Mar 2003 16:59:50 +0600
Message-ID: <20030330165950.14c43fd8.leutin@rambler.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

Добрый день!

Подскажите, пожалуйста, решение.
Пытаюсь настроить MySQL+NetAcct-MySQL+Netstat.
MySQL и NetAcct поставил, модули для php тоже (phpMyAdmin работает).
Netstat скопировал в /var/www/html/netstat.
При обращении к 
http://localhost/netstat/contrib/install_database.php
и нажимании на "Install" выдаёт

-------------------------------------------------------------
Database instalation for Mysql-NetAcct 0.75 and NetStat 3.03

Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/netstat/contrib/install_database.php on line39
-------------------------------------------------------------
 на 39 строке в том файле
 $cnx = mysql_connect($dbhost, $dbuser, $dbpasswd)
   or die("Unable to connect to database server.");
 Я так понимаю, что php не может обратиться к базе MySQL.
Почему? Как исправить? Я в apache, mysql и php полный чайник.

Система: ALM2.0 без апдейтов.
netacct-mysql-0.75.tar.gz
netstat-3.04_1.tar.gz
взяты с http://sourceforge.net/projects/netacct-mysql/

$ rpm -qa|egrep "php|mysql|apache"
apache-1.3.23rusPL30.11-alt6
mod_php-4.1.2-alt3
php-devel-4.1.2-alt3
apache-common-1.3.23rusPL30.11-alt6
perl-DBD-mysql-2.10.11-alt1
php-common-4.1.2-alt3
php-mysql-4.1.2-alt3
phpMyAdmin-2.3.3pl1-alt1
php-sockets-4.1.2-alt3
php-4.1.2-alt3
$

-- 
Леутин Александр leutin@rambler.ru
Registered Linux user #295797
Жизнь - смертельно интересная штука...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-03-30 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-30 10:59 Александр Леутин [this message]
2003-03-31  4:27 ` vic ismakaev
2003-03-31  6:23   ` Александр Леутин
2003-03-31  8:14     ` Maxim.Savrilov
2003-04-01  5:22       ` Александр Леутин
2003-04-02  4:58       ` Александр Леутин
2003-03-31  9:07     ` vic ismakaev
2003-03-31 18:48     ` Pavel Vainerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030330165950.14c43fd8.leutin@rambler.ru \
    --to=leutin@rambler.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git