From: vic ismakaev <viclists@mail.esoo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] MySQL, NetAcct-MySQL and Netstat 3.03
Date: Mon, 31 Mar 2003 09:27:13 +0500
Message-ID: <200303311027.13732.viclists@mail.esoo.ru> (raw)
In-Reply-To: <20030330165950.14c43fd8.leutin@rambler.ru>
30 Март 2003 16:59, Александр Леутин написал:
> Добрый день!
>
> Подскажите, пожалуйста, решение.
> Пытаюсь настроить 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 полный чайник.
Скорее всего,у Вас не подключен модудь MySQL в /etc/httpd/conf/php.ini .
--
С уважением
Виктор В Исмакаев
next prev parent reply other threads:[~2003-03-31 4:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-30 10:59 Александр Леутин
2003-03-31 4:27 ` vic ismakaev [this message]
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=200303311027.13732.viclists@mail.esoo.ru \
--to=viclists@mail.esoo.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