Welcome Guest, Not a member yet? Register   Sign In
Database Utility - Backups Not Working with MySQLi
#3

[eluser]Tim Post[/eluser]
This is actually not implemented in the Mysqli driver. If you look at:

Code:
system/database/drivers/mysqli/mysqli_utility.php

You'll see the stub:

Code:
/**
  * MySQLi Export
  *
  * @access private
  * @param array Preferences
  * @return mixed
  */
function _backup($params = array())
{
  // Currently unsupported
  return $this->db->display_error('db_unsuported_feature');
}

As PHP has begun the deprecation of the mysql_* family of functions, it's probably a good idea to implement this in the not too distant future Smile I think the issue is the mysql_* family has mysql_field_type(), which mysqli does *not* have, so you'd have to work around that in order to generate a dump (presumably, talking to information_schema directly).


Messages In This Thread
Database Utility - Backups Not Working with MySQLi - by El Forum - 07-20-2011, 05:07 PM
Database Utility - Backups Not Working with MySQLi - by El Forum - 02-14-2012, 01:08 AM
Database Utility - Backups Not Working with MySQLi - by El Forum - 01-11-2013, 09:26 PM
Database Utility - Backups Not Working with MySQLi - by El Forum - 10-25-2014, 12:25 AM
Database Utility - Backups Not Working with MySQLi - by El Forum - 10-25-2014, 01:36 AM
Database Utility - Backups Not Working with MySQLi - by El Forum - 10-27-2014, 04:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB