I am exchanging SQLyog backup files with another person, and my back up files hang and will not install on his mysql server.
Header from my SQLyog backup
/*
SQLyog Enterprise - MySQL GUI v6.14
MySQL - 5.0.45-community-nt : Database - naasf
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
create database if not exists `naasf`;
USE `naasf`;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
Header from friends backup file
/*
SQLyog - Free MySQL GUI v5.02
Host - 5.0.41-community-nt : Database - naasf
*********************************************************************
Server version : 5.0.41-community-nt
*/
create database if not exists `naasf`;
USE `naasf`;
SET FOREIGN_KEY_CHECKS=0;
Differences Noted
My backup files had mysql version comments in some of the lines (i.e. run on mysql version 4.0.014 or greater
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
His backup file has NO version comments. Why does his backup have no version comments.
Additionally, my backup file will not restore and hangs up on his computer with the following line
/*!50001 DROP VIEW IF EXISTS `viewracedetail` */;
Any idea why he would not be able to restore my backup file?
My backup file restores with no problem on my mysql server. I do note that I am using MySQL - 5.0.45-community-nt while he is using version Host - 5.0.41-community-nt. Could that be the problem?
Thanks
Frank