Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bigwhoop
Created August 6, 2010 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigwhoop/511521 to your computer and use it in GitHub Desktop.
Save bigwhoop/511521 to your computer and use it in GitHub Desktop.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.1.49-community MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database woohoo;
Query OK, 1 row affected (0.00 sec)
mysql> use woohoo;
Database changed
mysql> create table yes(sir varchar(10));
Query OK, 0 rows affected (0.14 sec)
mysql> insert into yes values ('bla bla bla bla');
ERROR 1406 (22001): Data too long for column 'sir' at row 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment