I am trying to create a table with the below query
Create Table PerformaceReport
(
campaignID int,
keywordID bigint,
keyword varchar(8000),
avgPosition decim
Use TEXT instead of VARCHAR.
Because you're exceeding the maximum row size.
if you use TEXT ,it is intended for large text columns.
Max size of varchar is 65535.
create a column with varchar(65535) but it would have to be the only column in the table.
or
problem is the row size limit for innodb tables, belowlinks you can find some approaches to solve this:
http://www.mysqlperformanceblog.com/2011/04/07/innodb-row-size-limitation/ https://dba.stackexchange.com/questions/6598/innodb-create-table-error-row-size-too-large