If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > my sql table crash , why ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-11, 10:03
linux1880 linux1880 is offline
Registered User
 
Join Date: Jul 2010
Posts: 39
my sql table crash , why ?

why i get mysql table crash which has only abt 30 records ?

some of the fields has collation latin1_swedish_ci and some has utf8_general_ci

does it make any difference ?

Code:
REATE TABLE `articles` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `a_title` varchar(255) NOT NULL,
 `a_description` varchar(400) NOT NULL,
 `a_content` text NOT NULL,
 `a_views` int(11) NOT NULL DEFAULT '0',
 `a_thumbnail` varchar(255) CHARACTER SET latin1 NOT NULL,
 `a_image` varchar(255) CHARACTER SET latin1 NOT NULL,
 `a_image_caption` varchar(400) NOT NULL,
 `a_audio` varchar(250) CHARACTER SET latin1 NOT NULL,
 `a_audio_caption` varchar(300) NOT NULL,
 `a_video` varchar(650) CHARACTER SET latin1 NOT NULL,
 `a_video_caption` varchar(250) NOT NULL,
 `a_channel` enum('news','tv','979','1036') CHARACTER SET latin1 NOT NULL,
 `a_grouping` varchar(16) NOT NULL,
 `a_status` enum('active','inactive') CHARACTER SET latin1 NOT NULL,
 `a_breaking` enum('true','false') CHARACTER SET latin1 NOT NULL,
 `a_hot` enum('true','false') CHARACTER SET latin1 NOT NULL,
 `a_category_id` int(11) NOT NULL,
 `a_featured` enum('true','false') CHARACTER SET latin1 NOT NULL,
 `a_tags` varchar(50) NOT NULL,
 `a_author` varchar(120) NOT NULL,
 `a_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
 PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=73 DEFAULT CHARSET=utf8
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On