Mysql Fehler, Datenbanken sind nicht zu erreichen

Mario1981

New Member
Hallo

hab ein kleines Problem mit Mysql, wenn ich Mysql neu starte bekomme ich folgende Meldung

Code:
/etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
You have new mail in /var/mail/root
root@server:/etc/mysql# ERROR 1577 (HY000) at line 1: Cannot proceed because system tables used by Event Scheduler were found damaged at server start
ERROR 1547 (HY000) at line 1: Column count of mysql.proc is wrong. Expected 20, found 15. The table is probably corrupted

Bei phpmyadmin steht links

Code:
Fehler

SQL-Befehl:  

SELECT `db_name` , `comment` 
FROM `phpmyadmin`.`pma_column_info` 
WHERE `column_name` = '(db_comment)' 

MySQL meldet:  
 #1054 - Unknown column 'db_name' in 'field list'

Mysql Server Version: 5.1.58-1~dotdeb.1-log

Wäre für jede Hilfe dankbar

Gruss
Mario
 
schon probiert

mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.general_log
Error : You can't use locks with log tables.
status : OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.servers OK
mysql.slow_log
Error : You can't use locks with log tables.
status : OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
phpmyadmin.pma_bookmark OK
phpmyadmin.pma_column_info OK
phpmyadmin.pma_designer_coords OK
phpmyadmin.pma_history OK
phpmyadmin.pma_pdf_pages OK
phpmyadmin.pma_relation OK
phpmyadmin.pma_table_coords OK
phpmyadmin.pma_table_info OK
phpmyadmin.pma_tracking OK
Running 'mysql_fix_privilege_tables'...
ERROR 1091 (42000) at line 616: Can't DROP 'PRIMARY'; check that column/key exists
ERROR 1072 (42000) at line 617: Key column 'db' doesn't exist in table
FATAL ERROR: Upgrade failed

Ich hab alles was mit mysql zu tun hat deinstalliert aber trotzdem sind die Datenbanken immer noch da. Ich muss es nochmal machen vielleicht hab ich was übersehen.
 
Also die wichtigen Datenbanken laufen wieder, sprich Webseite usw.

Hab alles was mit mysql zu tun hatte gelöscht und neu installiert.

Aber anscheinend stimmt trotzdem was nicht

Code:
/etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
root@server:/usr/bin# ERROR 1547 (HY000) at line 1: Column count of mysql.proc is wrong. Expected 20, found 19. The table is probably corrupted
ERROR 1017 (HY000) at line 1: Can't find file: 'time_zone' (errno: 2)

Und schon ist wieder phpmyadmin zerschossen, ich werd mal den Server neu aufsetzen
 
Last edited by a moderator:
Dumpe die Datenbanken, purge dann mysql (auch /var/lib/mysql) - Sollte einfacher sein als komplett das System neu zu installieren...
 
Back
Top