Changes between Version 14 and Version 15 of DespoinaLog/2010/12/08
- Timestamp:
- 2010-12-08T15:01:20+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DespoinaLog/2010/12/08
v14 v15 1 1 * When importing bbmri mysql table , table structures change --> exception . 2 2 * [http://www.abbeyworkshop.com/howto/lamp/MySQL_Export_Backup/index.html Try to export / import one table at a time] : mysqldump5 -u root -p bbmri biobank >biobank.mysql / mysqldump5 -u root -p bbmri_old biobank >biobank.mysql / mysql5 -u root -p bbmri < biobank.mysql / mysql5 -u root -p bbmri < ontologyTerm.mysql 3 4 == Inconsistency with !OntologyTerm table == 3 5 * org.molgenis.framework.db.!DatabaseException: Unknown column '!OntologyTerm.!__Type' in 'where clause' 4 6 * Was this produced after the import ? (generate gcc, update db -> test if it is shown --> import -> test if it's there) … … 39 41 === '''mysql> update !OntologyTerm set !__Type="!OntologyTerm"''' === 40 42 === '''problem solved ! ''' === 41 * 42 * * mysql> describe biobanks; 43 == Inconsistency with Biobanks table == 44 * mysql> describe biobanks; 45 43 46 * ERROR 1146 (42S02): Table 'bbmri.biobanks' doesn't exist 44 47 * mysql> describe biobank; … … 69 72 * +-------------+--------------------------------+------+-----+---------+-------+ 70 73 71 Missing fields : id name Investigation ontologyReference Individuals Species PanelType FounderPanels Acronym Institutes Publications Category Type Contacts Topics Materials Size LastUpdate Description 74 === But according to the model this is the complete list of fields : === 75 === * id 76 * name 77 * Investigation 78 * ontologyReference 79 * Individuals 80 * Species 81 * PanelType 82 * FounderPanels 83 * Acronym 84 * Institutes 85 * Publications 86 * Category 87 * Type 88 * Contacts 89 * Topics 90 * Materials 91 * Size 92 * LastUpdate 93 * Description 94 95 ===