Ich hatte leider nicht wie gewohnt Benachrichtigungen bekommen, dass ihr mir geschrieben habt und dachte, mir antwortet keiner
Gelöst ist mein Problem leider immer noch nicht, aber immerhin weiß ich nun, warum meine log-files leer waren, ich habe in /var/log/mysql.err geschaut und es gibt auch noch /var/log/mysql/error.log
Darin steht nun wenigstens ein konkreter Hinweis:
Code: Alles auswählen
191214 14:08:42 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
191214 14:08:42 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
191214 14:08:42 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
191214 14:08:42 InnoDB: The InnoDB memory heap is disabled
191214 14:08:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins
191214 14:08:42 InnoDB: Compressed tables use zlib 1.2.8
191214 14:08:42 InnoDB: Using Linux native AIO
191214 14:08:42 InnoDB: Initializing buffer pool, size = 128.0M
191214 14:08:42 InnoDB: Completed initialization of buffer pool
191214 14:08:42 InnoDB: highest supported file format is Barracuda.
InnoDB: The user has set SRV_FORCE_NO_LOG_REDO on
InnoDB: Skipping log redo
191214 14:08:42 InnoDB: Waiting for the background threads to start
191214 14:08:43 InnoDB: 5.5.62 started; log sequence number 0
191214 14:08:43 InnoDB: !!! innodb_force_recovery is set to 6 !!!
191214 14:08:43 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
191214 14:08:43 [Note] - '127.0.0.1' resolves to '127.0.0.1';
191214 14:08:43 [Note] Server socket created on IP: '127.0.0.1'.
191214 14:08:43 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
191214 14:12:34 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
191214 14:12:34 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
191214 14:12:34 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
191214 14:12:34 InnoDB: The InnoDB memory heap is disabled
191214 14:12:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins
191214 14:12:34 InnoDB: Compressed tables use zlib 1.2.8
191214 14:12:34 InnoDB: Using Linux native AIO
191214 14:12:34 InnoDB: Initializing buffer pool, size = 128.0M
191214 14:12:34 InnoDB: Completed initialization of buffer pool
191214 14:12:34 InnoDB: highest supported file format is Barracuda.
191214 14:12:34 InnoDB: Waiting for the background threads to start
191214 14:12:35 InnoDB: 5.5.62 started; log sequence number 24205857
191214 14:12:35 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
191214 14:12:35 [Note] - '127.0.0.1' resolves to '127.0.0.1';
191214 14:12:35 [Note] Server socket created on IP: '127.0.0.1'.
191214 14:12:35 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
(END)
Ja, ich habe innodb_force_recovery stückweise hochgesetzt, nachdem ich gegooglet hatte, hat aber keinerlei Wirkung gezeigt, außer, dass danach was im log stand. Wenn ich jetzt ohne den Parameter einen restart probiere, gibt es keinen neuen Log-Eintrag. Ich habe offen gesagt keine Ahnung, ob ich InnoDB verwende - falls das Standard ist, ja.
Wenn ich nun auf der Kommandozeile mysql_upgrade eingebe, passiert das:
Code: Alles auswählen
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Error: Failed while fetching Server version! Could be due to unauthorized access.
FATAL ERROR: Upgrade failed
Ich habe es auch schon mit -u und -p probiert. Ich weiß nur nicht so recht, welchen user is angeben muss. mysql-root? root? die probierten PWs sollten die richtigen sein...
Es wird kein Weihnachtsgebäck geben, wenn sich das Problem nicht lösen lässt

die Rezepte stehen nämlich in meinem Wiki und damit in der Datenbank
Ich hoffe auf euch
