Overview¶
This is an example of accessing a database thru external Perl scripts which perfom the actual database accesses.
The example shows how to write log statements to a database and how to read them out of the database again.
Create a new database table¶
First of all, a database is required to write the log entries to. The following script will create such a database:
Usage example - Unix:
(database_name must be replaced by the actual database name.)
Usage example - Windows:
(database_name must be replaced by the actual database name.)