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

Home » FUDforum » FUDforum Installation Issues » 2.3.5 installation step 2 and MySQL error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.3.5 installation step 2 and MySQL error [message #8025] Tue, 07 January 2003 11:24 Go to next message
boortz is currently offline  boortz   Sweden
Messages: 3
Registered: January 2003
Karma: 0
Junior Member
My ISP runs MySQL 3.23.54-Max-log and I get this error on step 2
of the installation

Failed to create table fud_thread_view.tbl (CREATE TABLE forum_thread_view ( forum_id INT UNSIGNED NOT NULL, page INT UNSIGNED NOT NULL, thread_id INT UNSIGNED NOT NULL, pos INT UNSIGNED NOT NULL AUTO_INCREMENT, tmp INT UNSIGNED, UNIQUE(forum_id, page, pos), INDEX(forum_id, thread_id) )), SQL Reason: Incorrect table definition; There can only be one auto column and it must be defined as a key

Any ideas how I get around this?

kent
Re: 2.3.5 installation step 2 and MySQL error [message #8026 is a reply to message #8025] Tue, 07 January 2003 12:33 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
I've tried installing FUDforum using MySQL 3.23.54 and had no encountered the problem you've described. Are you running MySQL that you had compiled yourself or are you using binaries from MySQL's website?

FUDforum Core Developer
Re: 2.3.5 installation step 2 and MySQL error [message #8028 is a reply to message #8026] Tue, 07 January 2003 15:46 Go to previous messageGo to next message
boortz is currently offline  boortz   Sweden
Messages: 3
Registered: January 2003
Karma: 0
Junior Member
I have no control over what version of MySQL that is used,
this is on a commercial web hotel. But I think they use
"innodb" whatever that means and while not explicitly stated
in the MySQL documentation there seem to be problems with
auto increment and innodb
http://groups.google.com/groups?selm=a6n2fm%2423ll%241%40FreeBSD.csie.NCTU. edu.tw

Question is, what do I do now? Is there older versions that
doesn't set auto-increment on non primary keys? I prefer
version 2 of FUD because of the Swedish languag kit.
Re: 2.3.5 installation step 2 and MySQL error [message #8029 is a reply to message #8028] Tue, 07 January 2003 17:06 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
Given that this is a MySQL problem particular to innodb table type this is not something forum the forum to solve. I am surprised that you cannot create regular ISAM and MyISAM tables, perphaps if you tell MySQL to specifically create the table as ISAM it would work?

FUDforum Core Developer
Re: 2.3.5 installation step 2 and MySQL error [message #8032 is a reply to message #8029] Tue, 07 January 2003 20:31 Go to previous messageGo to next message
boortz is currently offline  boortz   Sweden
Messages: 3
Registered: January 2003
Karma: 0
Junior Member
You pointed me in the right direction, thanks. I didn't know
that I could change database type. I added TYPE=MYISAM to
"fud_thread_view.tbl" and now I can install FUD using the
"install.php" script. Everything seem to work ok.
Re: 2.3.5 installation step 2 and MySQL error [message #8033 is a reply to message #8032] Tue, 07 January 2003 20:34 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Great Smile

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Install successful, but cannot post new messages
Next Topic: upgrading difficult ??
Goto Forum:
  

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

Current Time: Thu Nov 21 23:55:28 GMT 2024

Total time taken to generate the page: 0.03701 seconds