~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to ntop/docs/database/README.mySQL

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
How to use ntop with mySQL
2
 
--------------------------
3
 
 
4
 
1) install and run mySQL
5
 
2) run: mysqladmin create NTOP
6
 
3) run: mysql NTOP < database/mySQLdefs.txt
7
 
4) run: perl database/mySQLserver.pl &
8
 
5) run: ntop -w 3000 -i eth0 -b localhost:4000
9
 
 
10
 
 
11
 
 
12
 
If you are working with mySQL, you should try the MySQL-Explorer (W95/NT) you can download from ftp://accordata.net/pub.
13
 
 
14
 
Hint:
15
 
- "database" is a subdir of the ntop-source
16
 
- If the database is on an different machine than ntop, run the perl-script on the machine where mySQL is executed
17
 
- If you get an error like /tmp/mysql.sock not found, edit the perl-script (more inside)
18
 
 
19
 
---
20
 
Ralf.Amandi<Ralf.Amandi@accordata.net>, February 2000
21
 
 
22
 
============================================================
23
 
 
24
 
I've right now downloaded the MySQL Explorer. I'm starting to use
25
 
MySQL and I'm curious to use your good software. As I've seen that
26
 
it needs an auto-extracting setup I've created it to give you
27
 
a little contribution.
28
 
In attachment there is the Inno Setup Project file used to build
29
 
the setup file. You can download Inno Setup Pro 1.09a from
30
 
       <http://pakawatk.hypermart.net/>
31
 
if you would (as I think) build the auto-extracting file by yourself.
32
 
It's a great tool and it's free!
33
 
 
34
 
To build on your own the setup you have to put all the files into the
35
 
directory C:\tmp\mysqlexplorer , create there a directory called
36
 
"Setup", put into C:\tmp\mysqlexplorer\ the project file here in
37
 
attachment and click over that. It will invoke Inno Setup Pro
38
 
1.09a. Then you'll have to click on the button "Save&Compile". Into
39
 
C:\tmp\mysqlexplorer\Setup it will create the auto-extracting file.
40
 
 
41
 
If you would like to have more information please contact me.
42
 
 
43
 
---
44
 
Antonio 'marty' Maiorca <marty@tai.it>