Quarantine Database |
Post Reply |
Author | |
frank.biesmans
Newbie Joined: 22 October 2006 Location: Belgium Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 22 October 2006 at 6:17am |
Hey, I'm evaluating the Spam Filter ISP and trying to get the database to run on a mysql server. I've tried the access database and I got that to run but I've got more than 2000 spam mails a day (on only 4 domains) so that isn't a good solution. Though I am a microsoft guy, I don't like spending a lot of money on their sql server so I tried to use one of my linux servers' mysql database to connect to SF. I used the 3.5 connector on the website www.mysql.com The connector made a connection with the database but I couldn't get SF to use the database. After a few days I gave up and installed a Mysql 5 on my Windows XP SP2 system where the spamfilter is running. I used the connector version 5 and i got a connection but he keeps on telling me he can't find the tables but when he wants to create them the sql server returns that they exist! And it goes something like this:
CREATE TABLE `tblQuarantine` (
CREATE TABLE `tblrejectcodes` (
CREATE TABLE `tbllogins` (
CREATE TABLE `tblServers` ( ERROR - Some fields are missing from the tables! I've read all about case sensitive problems on linux mysql servers so I tried my linux server again. Same over here. With the new connector I can make a connection but it keeps on giving me the above statement. I've tried installing mdac 2.8 but I can't because he sais there is something much better on my machine than mdac 2.8 and that he won't install it! Usually it takes a long time before I post my problems on a forum but eehhmm.. Please help me! I really like to see the web interface to evaluate. I'm thinking about buying your product for 1 server to start with and see how many domains 1 server can handle. Greetings
Frank Biesmans |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
Frank,
Can you try deleting the whole SpamFilter database, and then retry, but using the slightly updated script below? There were case-sensitive issues with Unix, but MySQL 5, under Windows, is not case sensitive, so there should not be problems. If this still occurs, can you please let us know what "Niet nader omschreven fout" means? The online translation says "More closely did not define wrongly" but it doesn't really make sense... CREATE TABLE `tblMsgs` ( `MsgID` int(11) NOT NULL auto_increment, `Msg` longtext, PRIMARY KEY (`MsgID`) ) TYPE=MyISAM; CREATE TABLE `tblQuarantine` ( `QuarID` int(11) NOT NULL auto_increment, `EmailFrom` varchar(100) default NULL, `EmailTo` varchar(100) default NULL, `Subject` varchar(100) default NULL, `MsgDate` datetime default NULL, `MsgID` int(11) default NULL, `RejectID` int(11) default NULL, `RejectDetails` varchar(200) default '', `Deliver` tinyint(1) default NULL, `Expire` tinyint(1) default NULL, `ServerID` int(11) null, PRIMARY KEY (`QuarID`), KEY `Subject` (`Subject`), KEY `MsgID` (`MsgID`), KEY `EmailFrom` (`EmailFrom`), KEY `EmailTo` (`EmailTo`), KEY `MsgDate` (`MsgDate`), KEY `ServerID` (`ServerID`) ) TYPE=MyISAM; CREATE TABLE `tblRejectCodes` ( `RejectID` int(11) NOT NULL default '0', `RejectDesc` varchar(100) default NULL, PRIMARY KEY (`RejectID`) ) TYPE=MyISAM; CREATE TABLE `tblLogins` ( `LoginID` int(11) NOT NULL auto_increment, `EMail` varchar(100) NOT NULL default '', `Password` varchar(50) default '', PRIMARY KEY (`LoginID`), UNIQUE KEY `EMail` (`EMail`) ) TYPE=MyISAM; CREATE TABLE `tblServers` ( `ServerID` int(11) NOT NULL auto_increment, `ServerName` varchar(50), PRIMARY KEY (`ServerID`), KEY `ServerName` (`Servername`) ) TYPE=MyISAM; ALTER TABLE `tblQuarantine` ADD CONSTRAINT `FK_tblQuarantine_tblMsgs` FOREIGN KEY `FK_tblQuarantine_tblMsgs` (`MsgID`) REFERENCES `tblMsgs` (`MsgID`) ON DELETE CASCADE ; |
|
Marco
Senior Member Joined: 07 June 2005 Location: Netherlands Status: Offline Points: 137 |
Post Options
Thanks(0)
|
"Niet nader omschreven fout" = unspecified error
nice eh? Dutch :) |
|
Anyone who is capable of getting himself made president, should on no account be allowed to do the job. D.Adams
|
|
frank.biesmans
Newbie Joined: 22 October 2006 Location: Belgium Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hey Roberto, I've tried it with your new file but it didn't help. I tried it on the Linux and the Windows SQL Server and they both keep giving me the same error... I already tried to make double tablenames (with and without capitals) and that didn't help either... Help is welcome...
Frank |
|
pcmatt
Senior Member Joined: 15 February 2005 Location: United States Status: Offline Points: 116 |
Post Options
Thanks(0)
|
Greetings. You can run Microsofts free version of SQL Server either MSDE (free SQL 2000 version) or the new SQL 2005 Express: http://msdn.microsoft.com/vstudio/express/sql/download/
|
|
-Matt R
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.313 seconds.