Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2011
Posts: 9
U
stranger
stranger
U Offline
Joined: Mar 2011
Posts: 9
I'm upgrading from ubb 6.5 and so I'm having to do the initial install and then migrate my data. When the installer is running through creating the tables I initially got the error:

SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM'

Which from what I read I just needed to change that to 'ENGINE=MyISAM', which I did and now I don't get that error. Instead, I'm getting the error:

SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=heap'

I'm wondering if I just need this changed to 'ENGINE=heap' too or is this something completely different?

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
The answer I got a while ago is the installer/upgrade script is the problem with that version.
https://www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/241410/

Maybe Rick has a handy dandy fix for it.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2011
Posts: 9
U
stranger
stranger
U Offline
Joined: Mar 2011
Posts: 9
Here's what the manual has to say...

http://dev.mysql.com/doc/refman/5.5/en/storage-engines.html

I was able to change to TYPE=MEMORY and that allowed the script to run all the way through once I removed all the tables from the database.

Thanks for your reply :-)

Joined: Mar 2012
Posts: 10
T
stranger
stranger
T Offline
Joined: Mar 2012
Posts: 10
FYI: I had the same problem and changing TYPE=MyISAM to TYPE=memory did not work.

My hosting service has MySQL ver5.5.21 and I had to change
TYPE=MyISAM to ENGINE=MyISAM
and
TYPE=heap to ENGINE=memory
then all worked great.

You should consider upgrading your scripts for the newer versions of PHP. Or give us options to choose for the PHP version.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 661 guests, and 171 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)