• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Import psa dump - Specified key was too long; max key length is 1000 bytes

ethanielc

New Pleskian
Plesk version - 11.5.30 CentOS 5 115131216.11
Error while accessing Plesk - ERROR: PleskMainDBException: MySQL query failed: Table 'psa.misc' doesn't exist (db.php:102)

# rpm -qa|grep mysql
mysql-5.0.95-5.el5_9
php53-mysql-5.3.3-22.el5_10
mysql-server-5.0.95-5.el5_9
mysql-connector-odbc-3.51.26r1127-2.el5

I tried to import psa from dump

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa < /var/lib/psa/dumps/mysql.daily.dump.0
ERROR 1071 (42000) at line 1566: Specified key was too long; max key length is 1000 bytes

Ref - http://kb.odin.com/en/6019
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e"DROP DATABASE psa;"
# mysql> CREATE DATABASE psa CHARACTER SET = latin1;
Query OK, 1 row affected (0.00 sec)
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` --default_character_set latin1 psa < /var/lib/psa/dumps/mysql.daily.dump.0
ERROR 1071 (42000) at line 1566: Specified key was too long; max key length is 1000 bytes

any help? Thanks!
 
Last edited:
Back
Top