• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Migrate fails for database, when a table have ROW_FORMAT=FIXED

Azurel

Silver Pleskian
User name: Azurel

TITLE

Migrate fails for database, when a table have ROW_FORMAT=FIXED

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS 8.2, Plesk Obsididan 18.0.29#1

PROBLEM DESCRIPTION

I tried to migrate from CentOS 7.8 (MariaDB 10.1.45) to CentOS 8.2 (MariaDB 10.3.17) and get a error.
I make daily backup (mysqldump) for this database (and import localhost on pc), without ever have a error. What could be the problem here? After import my mysqldump on pc(windows 10) this table is automatically ROW_FORMAT=DYNAMIC

Failed to copy content of database 'mydomain1'
Migration tools tried to perform operation in 3 attempts: Command execution failed on the local server with non-zero exit code.
command: mysql --defaults-file=/usr/local/psa/var/modules/panel-migrator/sessions/20200807122600/target-server/my_localhost_mydomain1.cnf -h localhost -P 3306 -uadmin mydomain1 < /usr/local/psa/var/modules/panel-migrator/sessions/20200807122600/target-server/db-dumps/mydomain1.sql
exit code: 1
stdout:
stderr: ERROR 1005 (HY000) at line 10887: Can't create table `mydomain1`.`sessions` (errno: 140 "Wrong create options")

The plesk export should maybe use something like this?
cat mysqldump | sed -r 's/ROW_FORMAT\s*\=\s*FIXED/ROW_FORMAT=DYNAMIC/g' > output.sql

I have fixed it in source database with set
ALTER TABLE `sessions` ROW_FORMAT=DEFAULT;
After that, migration working fine.

STEPS TO REPRODUCE

Migrate database from server1 to server2 with table that set as ROW_FORMAT=FIXED

ACTUAL RESULT

see description

EXPECTED RESULT

no errors

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you,
The bug PMT-4814 has been confirmed.
Another workaround is to set innodb_strict_mode=0 for the target DB server.
 
Back
Top