Changes between Version 14 and Version 15 of DespoinaLog/2010/12/08


Ignore:
Timestamp:
2010-12-08T15:01:20+01:00 (14 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DespoinaLog/2010/12/08

    v14 v15  
    11 * When importing bbmri mysql table , table structures change --> exception .
    22   * [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  ==
    35 * org.molgenis.framework.db.!DatabaseException: Unknown column '!OntologyTerm.!__Type' in 'where clause'
    46   * Was this produced after the import ? (generate gcc, update db -> test if it is shown --> import -> test if it's there)
     
    3941=== '''mysql> update  !OntologyTerm set !__Type="!OntologyTerm"''' ===
    4042=== '''problem solved ! ''' ===
    41  *
    42  * * mysql> describe biobanks;
     43== Inconsistency with Biobanks table  ==
     44* mysql> describe biobanks;
     45
    4346 * ERROR 1146 (42S02): Table 'bbmri.biobanks' doesn't exist
    4447 * mysql> describe biobank;
     
    6972 * +-------------+--------------------------------+------+-----+---------+-------+
    7073
    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 ===