Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

error after deleting issue

Tomas Pekar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2022

Dear all,

we are running this error, after deletting any issue.

 Database:
- name:MySQL
- version:5.5.5-10.5.12-MariaDB-0+deb11u1
- minor version:5
- major version:5
Driver:
- name:MySQL Connector/J
- version:mysql-connector-java-8.0.27 (Revision: e920b979015ae7117d60d72bcc8f077a839cd791)

java.sql.SQLSyntaxErrorException: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs.

Thanks for help.

1 answer

2 votes
Fabio Racobaldo _Catworkx_
Community Champion
February 4, 2022

Hi @Tomas Pekar ,

it seems an issue related to innodb_page_size  system variable. You should try to :

My suggestion is to test it in a testing environment first.

Fabio

Tomas Pekar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2022

Thanks Fabio, for answer. Here is complete procedure:

1) backup all data!

mysqldump --max_allowed_packet=1024M -udebian-sys-maint -p jiradb > all-jiradb.sql

2) drop database

mysql -udebian-sys-maint -pXXX

DROP DATABASE jiradb;

/etc/init.d/mysql stop

3) delete /var/lib/mysql
ibdata1 and ib_logfile0

4) changing  innodb_page_size=32k

/etc/mysql/my.cfg
innodb_page_size=32k

/etc/init.d/mysql start

5) create database

mysql -udebian-sys-maint -pXXX

CREATE DATABASE IF NOT EXISTS `jiradb` ;
GRANT ALL PRIVILEGES ON `jiradb` . * TO 'jira'@'localhost';

6) restore data

mysql -udebian-sys-maint -pXXX -Djiradb < all-jiradb.sql

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events