simple-backup
simple-backup copied to clipboard
simple-backup/src/Foundation/Configurator.php Error
Line 52: $contents .= "\r\n\r\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\r\nSET AUTOCOMMIT = 0;\r\nSTART TRANSACTION;\r\nSET time_zone = \"+00:00\"\r\n\r\n--\r\n-- Database:
" . $config['db_name'] . "\r\n-- Total Tables: {$config['total_tables']}\r\n--\r\n\r\n";
-
SET time_zone = \"+00:00\"
missing a semicolon after\"+00:00\"
- As a result, this query is displayed in the generated backup file as follows:
-
SET time_zone = "+00:00"
- Without a semicolon.