Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRobert Ott
Courses Plus Student 4,614 PointsMy DB export looks different
These are the first few lines of the dump:
-- MySQL dump 10.13 Distrib 5.6.19, for osx10.7 (i386)
-- Host: localhost Database: treehouse_movie_db
-- Server version 5.6.23
/!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS /; /!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION /; /!40101 SET NAMES utf8 /; /!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE /; /!40103 SET TIME_ZONE='+00:00' /; /!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 /; /!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' /; /!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table actors
This is the log file when I performed the dump:
09:41:30 Dumping treehouse_movie_db (all tables) Running: /Applications/MySQLWorkbench.app/Contents/MacOS/mysqldump --defaults-file="/var/folders/np/rtxd2w995j7_k7518r6xd29r0000gn/T/tmptGzDdb/extraparams.cnf" --user=root --host=localhost --protocol=tcp --port=3306 --default-character-set=utf8 --skip-triggers "treehouse_movie_db" 09:41:30 Export of /Users/robertott/dumps/Dump20150205-1.sql has finished
My dump file does not contain the first two lines of Andrew's dump file:
CREATE DATABASE..... USE....
Am I doing something wrong?
Thanks in advance!!
2 Answers
Roberto Alicata
Courses Plus Student 39,959 PointsYou need to click on the checkbox "Include Create Schema" (it's just before the Start Export button) in the Object Selection Panel.
Chris Komaroff
Courses Plus Student 14,198 PointsThank you, Roberto! I take it this is a change to user interface and instructor is using older version of Workbench.