Last active

  • Download Gist
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.