Ich erstelle hier nun einen neuen Thread, da der letzte sehr unübersichtlich wurde.
Durch einen Servercrash musste ich den Server neu aufsetzen und nun stehe ich mit einem Backup hier. Ohne .sql Datei.
Ich habe nun vom Backup alle möglichen Dateien hochgeladen, die "mysql" im Namen haben. Natürlich an die richtige Stelle. Wenn ich nun die Datenbank starten will folgt dieser Error:
Code
151227 11:16:32 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
151227 11:19:10 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
151227 11:19:10 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
151227 11:19:10 [Note] /usr/sbin/mysqld (mysqld 5.5.44-0+deb8u1) starting as process 11325 ...
151227 11:19:10 [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.
151227 11:19:10 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
151227 11:19:10 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
151227 11:19:10 InnoDB: The InnoDB memory heap is disabled
151227 11:19:10 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151227 11:19:10 InnoDB: Compressed tables use zlib 1.2.8
151227 11:19:10 InnoDB: Using Linux native AIO
151227 11:19:10 InnoDB: Initializing buffer pool, size = 128.0M
151227 11:19:10 InnoDB: Completed initialization of buffer pool
151227 11:19:10 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
151227 11:19:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Display More
Ich habe die Datei /usr/sbin/mysqld auch wieder hochgeladen, also weiss ich nicht wieso die fehlen sollte.
Und ich weiss nicht ob es sehr schlau ist mysql_upgrate auszuführen.