MYSQL Error (erno:150) Can't create table|Joomla Support|Forum Archive|XCloner

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
MYSQL Error (erno:150) Can't create table
March 10, 2012
12:23 am
Avatar
Charles
Member
Members
Forum Posts: 3
Member Since:
March 9, 2012
sp_UserOfflineSmall Offline

I'm getting an error (multiple error if I choose skip this querry) and I'm not sure what to make of it. 

 

This is occuring while ausing automatic restore.  39.10% processed

 

###MYSQL error

Can't create table 'database_name.gtaq_rokgallery_file_loves' (errno: 150)

###On Query:

#
# Table structure for table `gtaq_rokgallery_file_loves`
#
CREATE TABLE `gtaq_rokgallery_file_loves` (
  `file_id` int(10) unsigned NOT NULL DEFAULT '0',
  `kount` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`file_id`),
  UNIQUE KEY `file_id` (`file_id`),
  CONSTRAINT `gtaq_file_loves_file_id_files_id` FOREIGN KEY (`file_id`) REFERENCES `gtaq_rokgallery_files` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8

 

 

I've skipped this step and recieved ~20 more errors with the same extension rokgallery. 

 

When trying to access the url of the new location I get error --  42 - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database_name.gtaq_rokgallery_file_views' doesn't exist --

 

LaughAnyone have any ideas??

March 11, 2012
10:09 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Try and check if your mysql server supports the InnoDB Engine, otherwise you might need to enable it in order to make those quesries run!

 

Ovidiu

March 11, 2012
4:45 pm
Avatar
Charles
Member
Members
Forum Posts: 3
Member Since:
March 9, 2012
sp_UserOfflineSmall Offline

Thank you Ovidiu. 

 

InnoDB is not skipped in the my.cnf file. And the extension, with the InnoDB, seems to work fine.  Do I need to make it the default DB for xcloner to work with it?

March 13, 2012
9:33 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

This error is not from XCloner, but from the mysql server which seems to reject that create table query, i would suggest to try and manually run that query and see if it works, if so, you can simply restore the administrator/backups/database-sql.sql file that way.

 

Regards, Ovidiu

March 14, 2012
2:57 am
Avatar
Charles
Member
Members
Forum Posts: 3
Member Since:
March 9, 2012
sp_UserOfflineSmall Offline

Thank you for the tips, I appreciate your help.

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 2
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10080
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Manuele Freddo_1
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0