Support

Site Restoration

#13544 MySQL query failed with error 1064

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

user68398
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.5.26
PHP version: 5.2.5
MySQL version:5.5.25a
Host: siteground
Akeeba Backup version which took the backup: 3.2.7
Kickstart version used to extract the backup: 3.2

Description of my issue:
I backup up my site and then installed a recommended upgrade. Plugin manager then failed and siteground restored the database from softaculous. This didn't solve so i thought it best to restore from akeeba. Kickstart works fine and then I get the error:

Error at the line 0: CREATE TABLE `#__ak_profiles` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `description` varchar(255) NOT NULL, `configuration` longtext, `filters` longtext, PRIMARY KEY (`id`) ) TYPE=My ...MySQL: MySQL query failed with error 1064 (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 AUTO_INCREMENT=2' at line 1). The query was:CREATE TABLE `jos_ak_profiles` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `description` varchar(255) NOT NULL, `configuration` longtext, `filters` longtext, PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=2

Have tried deleting the database and recreating and it still fails. I'm not the most technical when in comes to web sites and would really like some help / instructions to get my site back up and running.

Thanks

nicholas
Akeeba Staff
Manager
This is not easy to fix (but not impossible, either). The old version of Akeeba Backup you're using isn't aware that the TYPE keyword has been made obsolete in newer versions of MySQL in favour of the ENGINE keyword. That change was added in Akeeba Backup 3.3. In order to work around that limitation you'll have to follow our manual restoration procedure. In step 3 (Editing your database backup) you will have to do one more thing: replace TYPE=MyISAM with ENGINE=MyISAM.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.