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.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.