Fehler 1064 (42000) in Zeile 1: '= innoDB Standard charSet = utf8mb4 colate = utf8mb4_unicode_ci' in Zeile 1MySql

MySQL DBMS-Forum
Anonymous
 Fehler 1064 (42000) in Zeile 1: '= innoDB Standard charSet = utf8mb4 colate = utf8mb4_unicode_ci' in Zeile 1

Post by Anonymous »

$ mysql -u user -pPassword db_name -e "ALTER TABLE `table_name` ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ;"
< /code>
Error: failed_jobs: command not found
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci' at line 1
< /code>
Ich habe den obigen Befehl ausgeführt und den oben angegebenen Fehler erhalten. Der table_name wurde mit Backticks (`) zitiert, aber es wirft Fehler ein. Wenn ich nicht zitiere, wird die Nachricht wie "MySQL: [WARNUNG] mit einem Kennwort auf der Befehlszeilenschnittstelle unsicher sein." < /p>
Insgesamt wird die Operation nicht erfolgreich ausgeführt. Was soll ich tun? Liegt ich an der Abfrage aus, dass MySQL nicht zulässt, eine solche Abfrage auszuführen?>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post