• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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