• 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!
  • 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.

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