I want to create database named guestbook.mysql. Firstly I got problem that the database will not protect by username and password. Secondly attribute "Comments" that should be more than 2000 characters. I used BLOD or TEXT, that doesnot work well. Hope someone can help. Thanks
-u username;// the database will protect by username
-p password; // the database will protect by password
create database guestbook;
use guestbook;
create table guestbook
(
Name varchar(50) not null,
Email varchar(50) not null,
Location varchar(50) not null
Comments BLOD(2000) not null // or BLOD ->>Problem here.
);