This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
mail:spamassain_gateway [2013/03/19 13:45] tschulz [Setup Database] |
mail:spamassain_gateway [2013/03/19 13:47] tschulz [Setup Database] |
||
---|---|---|---|
Line 49: | Line 49: | ||
/usr/local/etc/rc.d/mysql-server start | /usr/local/etc/rc.d/mysql-server start | ||
</file> | </file> | ||
+ | Run the following in a mysql prompt to create a database | ||
<file> | <file> | ||
- | mysql | ||
create database SpamAssassin; | create database SpamAssassin; | ||
quit | quit | ||
</file> | </file> | ||
+ | create the required tables | ||
<file> | <file> | ||
cd /usr/local/share/doc/p5-Mail-SpamAssassin/sql | cd /usr/local/share/doc/p5-Mail-SpamAssassin/sql |