View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002743 | OXID eShop (all versions) | 4.06. Language and translations | public | 2011-04-13 16:29 | 2011-08-08 20:27 |
Reporter | Helmut L. | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.5.1 revision 38045 | ||||
Summary | 0002743: mysqldump does not work with many languages | ||||
Description | If you have 15 languages there is a view oxv_oxarticles with over 120 cols. When you use mysqldump, before the create view statement, there is a create table statement with all columns of the view. When you execute the sql, during creation of the table the maximum columns limit for the table is reached and thus the execution of the sql is aborted. | ||||
Steps To Reproduce | Add 15 languages in the shop. Use mysqldump to create a sql file. Try to execute the sql file. | ||||
Additional Information | Enterprise Edition Occurs probably also with fewer languages. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0003163 | resolved | Linas Kukulskis | Impossible to use admin without views |
|
Reminder sent to: Helmut L. Hello, sorry, but i can not reproduce the case. i have tried to export database with 19 languages and then was able import it again. could you please let us know, what options are are you using while executing mysqldump and what mysql version you are working with? greetings, |
|
Here is the mysqldump command I used to create the dump: mysqldump --hex-blob --create-options -u username -p databasename > dump.sql I tested it with MySQL Version 5.0.67, charset UTF-8, Storage Engine InnoDB |
|
@developers: investigate from source code side. somehow, i can not export db with given options. i get error: mysqldump: Got error: 1016: Can't open file: './oxid_fe_ee/oxv_oxobject2attribute_a9.frm' (errno: 24) when using LOCK TABLES |
|
This is just a limitation of mysqldump view export, try create database dump without views and regenerate them later |
|
mysqldump has no option to not dump the views. The only way would be to add an --ignore-table=... for every single view. With 1510 views (shop + sub shop + 31 languages) this is no practical solution. |
|
You are right, mysqlbump does not have option to ignore all views and does not allow usage of wildcard characters, try searching another tool or script. |