• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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