freebsd-ports/net/hawk/files/create_hawk_db.sql
Doug Barton 94c52d8c7f New port of a nifty utilty that uses perl to ping the networks you
specify, mysql to save the data, and php to display it. Fairly
configurable, and easy to set up.
2003-02-13 11:20:38 +00:00

14 lines
344 B
SQL

# Feed this file to mysql, e.g.,
# mysql -v < create_hawk_db.sql
create database hawk;
use hawk;
create table ip (
ip char(16) NOT NULL default '0',
hostname char(255) default NULL,
lastping int(10) default NULL,
primary key (ip),
unique key ip (ip),
key ip_2 (ip)
) type=MyISAM comment='Table for last ping time of hosts';