[Vtigercrm-commits] [vtiger development] #6205: 5.1.0 Migration Issue - During the check for MyISAM type tables

vtiger development vtiger-tickets at trac.vtiger.com
Wed Jul 29 06:54:12 EDT 2009


#6205: 5.1.0 Migration Issue - During the check for MyISAM type tables
------------------------+---------------------------------------------------
  Reporter:  asha       |       Owner:  asha    
      Type:  defect     |      Status:  assigned
  Priority:  critical   |   Milestone:  5.1.1   
 Component:  vtigercrm  |     Version:  5.1.0   
Resolution:             |    Keywords:          
------------------------+---------------------------------------------------
Changes (by asha):

  * status:  new => assigned

Comment:

 Quick Fix for those who are facing this issue during migration:

 In file '''migrate.php''' : '''''Line 191''''' ->

 Replace:
 {{{
 $query = " ALTER DATABASE ".$dbname." DEFAULT CHARACTER SET utf8";
 }}}
 with:
 {{{
 $query = " ALTER DATABASE `".$dbname."` DEFAULT CHARACTER SET utf8";
 }}}

 In file '''include/utils/DBHealthCheck.php''' : '''''Line 57''''' ->

 Replace:
 {{{
 $tablesResult = $this->db->_Execute("SHOW TABLE STATUS FROM
 $this->dbName");
 }}}
 with:
 {{{
 $tablesResult = $this->db->_Execute("SHOW TABLE STATUS FROM
 `$this->dbName`");
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6205#comment:2>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list