Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - enterprise MySQL Create tables causes err
  FAQ FAQ  Forum Search   Register Register  Login Login

enterprise MySQL Create tables causes err

 Post Reply Post Reply
Author
hookjd View Drop Down
Newbie
Newbie


Joined: 22 June 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote hookjd Quote  Post ReplyReply Direct Link To This Post Topic: enterprise MySQL Create tables causes err
    Posted: 06 May 2007 at 1:31am
I have just upgraded to enterprise edition and have attempted to run the Create / Check Database Tables command.  I get many SQL errors.  There are many different errors, but this is the first one: 

******* Error:[MySQL][ODBC 3.51 Driver][mysqld-4.1.19-community-nt]BLOB/TEXT column 'email' used in key specification without a key length

The others are less specific.  I checked the tables and while they were created, they had no data in them at all.  So I have reverted to Standard mode until I can understand how to address this problem.  Is it possible to maybe get the raw SQL so I can see what might be causing this?  Or do you have an idea of what it might be?
Back to Top
WebGuyz View Drop Down
Senior Member
Senior Member


Joined: 09 May 2005
Location: United States
Status: Offline
Points: 348
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebGuyz Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2007 at 10:05am
MySQL has to be 5.x minimum.
http://www.webguyz.net
Back to Top
hookjd View Drop Down
Newbie
Newbie


Joined: 22 June 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote hookjd Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2007 at 8:14pm
Thanks for the reply.  I upgraded mysql to the latest stable 5 version and it appears that all tables were created successfully, but I still get a lot of errors and there isn't any data in my tables.  Here's an error I am getting right now.  Any ideas? 

******* Error:[MySQL][ODBC 3.51 Driver][mysqld-5.0.37-community-nt]Can't create table '.\filter\#sql-e50_21.frm' (errno: 121)
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4105
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2007 at 10:43pm
Can you try to delete the entire schema (database) and create a new one? It's possible you have leftover tables/constraints from the previous attempt, and SpamFilter is not able to create new objects over the existing ones.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
hookjd View Drop Down
Newbie
Newbie


Joined: 22 June 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote hookjd Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2007 at 12:59am
It looks like that did it.  It certainly wasn't a seamless transition.  I had to restart the app multiple times before it built the tables based on the text files that I have had in place for a long time.  But it does seem to have done it all correctly and is now working.  Thanks for the assistance and for the continued development of this great product.  Cheers.

Back to Top
hookjd View Drop Down
Newbie
Newbie


Joined: 22 June 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote hookjd Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2007 at 1:19am
I have discovered a potential error in the transition to enterprise.  I had my spf set to:

neutral: pass
softfail: pass
hardfail: fail

After the upgrade to enterprise, my spf filters were reversed.  LIke this:

neutral: fail
softfail: fail
hardfail: pass

You might want to look into that.
Back to Top
vitalhosting View Drop Down
Newbie
Newbie
Avatar

Joined: 05 September 2007
Location: Turkey
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote vitalhosting Quote  Post ReplyReply Direct Link To This Post Posted: 07 September 2007 at 6:11pm
Originally posted by hookjd hookjd wrote:

Thanks for the reply.  I upgraded mysql to the latest stable 5 version and it appears that all tables were created successfully, but I still get a lot of errors and there isn't any data in my tables.  Here's an error I am getting right now.  Any ideas? 

******* Error:[MySQL][ODBC 3.51 Driver][mysqld-5.0.37-community-nt]Can't create table '.\filter\#sql-e50_21.frm' (errno: 121)
 
hookjk did you find a solution for this error? I got same error
Back to Top
hookjd View Drop Down
Newbie
Newbie


Joined: 22 June 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote hookjd Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2007 at 1:47pm
when I dumped the entire db schema as suggested by LogSat, the tables were rebuilt correctly the next time.  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.188 seconds.