• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • 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.

Question Attempt to restore the "psa" database from a dump fails.

mariodieck

New Pleskian
Server operating system version
Debian 12.12
Plesk version and microupdate number
Plesk Obsidian 18.0.74 Update #1
Hello, I'm trying to restore the "psa" database from a previous dump. Unfortunately, this is failing.

I followed the instructions in this article:

Code:
zcat mysql.daily.dump.5 | sed -n '/-- Current Database: `psa`/,/-- Current Database:*/p' | MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin --default-character-set=utf8
outputs the following:

ERROR 1265 (01000) at line 8451: Data truncated for column 'event_type' at row 22


Then I followed the instructions in this article:

But unfortunately, I then get an error message that looks like this:
Code:
cat mysql.daily.dump.5 | sed -n '/-- Current Database: `psa`/,/-- Current Database:*/p' | MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin
outputs the following:

mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
--------------
/ !40000 ALTER TABLE `exp_event` ENABLE KEYS */
--------------


ERROR 1064 (42000) at line 8434: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '/ !40000 ALTER TABLE `exp_event` ENABLE KEYS */' at line 1

What's the problem with that?
 
Back
Top