BUG 10050 Integridad Referencial SOLVED

- Added instruction suggested
This commit is contained in:
Julio Cesar Laura
2012-11-12 14:28:25 -04:00
parent 2e78a2ee07
commit 9c6a4f1839
4 changed files with 4 additions and 0 deletions

View File

@@ -193,6 +193,7 @@ class multipleFilesBackup
CLI::logging( "> Connecting to system database in '$dbHost'\n" );
$link = mysql_connect( $dbHost, $dbUser, $dbPass );
@mysql_query( "SET NAMES 'utf8';" );
@mysql_query( "SET FOREIGN_KEY_CHECKS=0;" );
if (! $link) {
throw new Exception( 'Could not connect to system database: ' . mysql_error() );
}