Daney11 Posted December 10, 2007 Share Posted December 10, 2007 Hey, my mysql table only allows 127 entrys. It is InnoDB and when i try and add more than 127 entries they dont go in? Any ideas CREATE TABLE `logs` ( `log_id` tinyint(100) NOT NULL auto_increment, `log_ip` varchar(100) NOT NULL, `log_site` varchar(100) NOT NULL, `log_user` varchar(100) NOT NULL, `log_type` varchar(100) NOT NULL, `log_body` text NOT NULL, PRIMARY KEY (`log_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=128 ; Link to comment https://forums.phpfreaks.com/topic/81078-solved-mysqll/ Share on other sites More sharing options...
fenway Posted December 11, 2007 Share Posted December 11, 2007 For any one who's interested, the problem was the tinyint as the PK... UNSIGNED INT or bigger should have been the choice of datatype. Link to comment https://forums.phpfreaks.com/topic/81078-solved-mysqll/#findComment-411945 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.