yolanda/trunk/README_DATABASE

14 lines
591 B
Text
Raw Normal View History

to get a database execute the following mysql statements:
create database gnutube;
use gnutube;
create table tagcloud (text varchar(255) not null, count int not null);
fill with some data:
eg.: insert into tagcloud values ('web tv', 68);
create table users (id int auto_increment not null, username varchar(255) not null, password char(41) not null, primary key (id));
create table videos (id int auto_increment not null, title varchar(255) not null, caption text, userid varchar(255) not null, hash char(64) not null, status int not null, primary key (id), fulltext (title, caption));