FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » SQL error when upgrading with CVS in eGW
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
SQL error when upgrading with CVS in eGW [message #21517] Thu, 02 December 2004 13:25 Go to next message
espen is currently offline  espen   Norway
Messages: 4
Registered: December 2004
Location: Norway
Karma: 0
Junior Member
Hi, i tried to upgrade fudforum for eGW, becouse i got a lot of errors when using the forum. First i did a update source after a CVS the files, and no improvements, than i did a uninstall/install and got the folowing error when installing.

Database error: Invalid SQL: ALTER TABLE phpgw_fud_thread_view CHANGE pos pos INT NOT NULL AUTO_INCREMENT
mysql Error: 1075 (Incorrect table definition; there can be only one auto column and it must be defined as a key)

anny ideas? I've included the debug and system info dump as text files.

-Espen-
Re: SQL error when upgrading with CVS in eGW [message #21523 is a reply to message #21517] Thu, 02 December 2004 14:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What database backend are you using?

FUDforum Core Developer
Re: SQL error when upgrading with CVS in eGW [message #21524 is a reply to message #21517] Thu, 02 December 2004 14:46 Go to previous messageGo to next message
espen is currently offline  espen   Norway
Messages: 4
Registered: December 2004
Location: Norway
Karma: 0
Junior Member
I am using mysql 4.1
Re: SQL error when upgrading with CVS in eGW [message #21526 is a reply to message #21524] Thu, 02 December 2004 14:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Which version of MySQL 4.1?

MySQL 4.1.5 for example has a bug that causes the query you've demonstrated to fail. In 4.1.6+ you need to make sure MyISAM and not InnoDB tables are being used.


FUDforum Core Developer
Re: SQL error when upgrading with CVS in eGW [message #21527 is a reply to message #21517] Thu, 02 December 2004 14:58 Go to previous messageGo to next message
espen is currently offline  espen   Norway
Messages: 4
Registered: December 2004
Location: Norway
Karma: 0
Junior Member
4.1.7, I will check. I think it is running INNODB as default engine, I'll change it in thi ini.
Re: SQL error when upgrading with CVS in eGW [message #21528 is a reply to message #21527] Thu, 02 December 2004 15:00 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If innodb is default, then that's your problem.

FUDforum Core Developer
icon14.gif  Re: SQL error when upgrading with CVS in eGW [message #21529 is a reply to message #21517] Thu, 02 December 2004 15:15 Go to previous messageGo to next message
espen is currently offline  espen   Norway
Messages: 4
Registered: December 2004
Location: Norway
Karma: 0
Junior Member
Now it worked just fine. (atleast the installation) Thank you verry much. Very Happy
Re: SQL error when upgrading with CVS in eGW [message #23590 is a reply to message #21517] Wed, 23 March 2005 17:35 Go to previous messageGo to next message
Jorakae is currently offline  Jorakae   United States
Messages: 30
Registered: March 2005
Karma: 0
Member
I too also get this same error and can't get it installed on the system. I am using MySQL 4.1.10, I'm pretty sure I'm using MyISAM, but where would I check?
Re: SQL error when upgrading with CVS in eGW [message #23594 is a reply to message #23590] Wed, 23 March 2005 18:48 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
show create table [table name];

This will tell you what engine is being used for data storage.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 'Welcome to forums' message
Next Topic: not allowed to create Temp Tables, what can i do?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 20:50:48 GMT 2024

Total time taken to generate the page: 0.02174 seconds