테스트 사이트 - 개발 중인 베타 버전입니다

mysql 컬럼이 더이상 만들어지지 않습니다. 채택완료

rqwr 9년 전 조회 2,243

#1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs  

 

http://sealgate.co.kr/phpMyAdmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.1%2Fen%2Falter-table.html&token=b5061af44c1263c2636ecbc57a55bcbd" target="mysql_doc" style="color: rgb(35, 90, 129); cursor: pointer; outline: none; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(0, 0, 0); font-family: Verdana, 'Segoe UI', Arial, Tahoma; font-size: 17.6px; line-height: normal; background-color: rgb(255, 192, 203);">ALTER TABLE `g5_write_notice` ADD `wr_73` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci http://sealgate.co.kr/phpMyAdmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.1%2Fen%2Flogical-operators.html%23operator_not&token=b5061af44c1263c2636ecbc57a55bcbd" target="mysql_doc" style="color: rgb(35, 90, 129); cursor: pointer; outline: none; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(0, 0, 0); font-family: Verdana, 'Segoe UI', Arial, Tahoma; font-size: 17.6px; line-height: normal; background-color: rgb(255, 192, 203);">NOTNULL AFTER `wr_id` ; 

 

 

 

여분필드때문에 wr_1~100 까지할라는데 72까지밖에안만들어지네요

더만들방법없나요..?

댓글을 작성하려면 로그인이 필요합니다.

답변 3개

채택된 답변
+20 포인트
9년 전

varchar(255)의 숫자를 낮춰서 생성하시던지,

text()로 바꿔 생성해 보세요. 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 2개

r
rqwr
9년 전
255라는게 wr_10 안의 글자수를말하는건가요?
그럼 10자도안되면 10으로해도상관없나요?
네이비칼라
9년 전
일단 text로 생성해 보세요. varchar(255)로 되어 있는 것들을 모두 text()로 바꿔 시도해 보라는 것이죠.

댓글을 작성하려면 로그인이 필요합니다.

r
9년 전

감사합니다.

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

9년 전

text 로 만든후에 varchar 로 변경하면 될겁니다.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

r
rqwr
9년 전
서버에 text 랑 varchar중 어떤게 무리를 더 안주는지 궁금하네요.
그리고 보통 wr_여분필드인경우 크기가몇정도가 적당한지 궁금하네요.

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인