Seite 1 von 1

Update auf 3.0.6 Fehler Datenbank Schema

Verfasst: 01.12.2009 08:02
von Schmiddi2
Moin

habe beim Versuch mein Forum von 3.0.5 auf 3.0.6 den Fehler erhalten, dass das Datenbank Schema angepasst werden muss mittels des mysqlupdaters. Wenn ich diesen ausführe erhalte ich die unten aufgeführte Ausgabe, versuche ich anschließend ein erneutes Update des Forums tritt der selbe Fehler auf. Ich vermute mal, dass die Datenbank gar nicht angepasst wurde !?

Code: Alles auswählen

# Table: 'phpbb_attachments'
ALTER TABLE phpbb_attachments
MODIFY attach_id mediumint(8) UNSIGNED NOT NULL auto_increment,
MODIFY post_msg_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY in_message tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY poster_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY is_orphan tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
MODIFY physical_filename varchar(255) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY real_filename varchar(255) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY download_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY attach_comment text NOT NULL COLLATE utf8_bin,
MODIFY extension varchar(100) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY mimetype varchar(100) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY filesize int(20) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY filetime int(11) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY thumbnail tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
DEFAULT CHARSET=utf8 COLLATE=utf8_bin;


# Table: 'phpbb_acl_groups'
ALTER TABLE phpbb_acl_groups
MODIFY group_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY forum_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY auth_option_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY auth_role_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY auth_setting tinyint(2) DEFAULT '0' NOT NULL,
DEFAULT CHARSET=utf8 COLLATE=utf8_bin;


# Table: 'phpbb_acl_options'
ALTER TABLE phpbb_acl_options
MODIFY auth_option_id mediumint(8) UNSIGNED NOT NULL auto_increment,
MODIFY auth_option varchar(50) DEFAULT '' NOT NULL COLLATE utf8_bin,
MODIFY is_global tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY is_local tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
MODIFY founder_only tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

die Ausgabe geht noch weiter

Gruß Schmiddi

Re: Update auf 3.0.6 Fehler Datenbank Schema

Verfasst: 01.12.2009 08:37
von Metzle
Hallo,

du musst die ausgegebenen Befehle noch in deiner Datenbank ausführen mittels phpMyAdmin oder MySQLDumper.
Siehe auch: KB:pma_faq

Re: Update auf 3.0.6 Fehler Datenbank Schema

Verfasst: 01.12.2009 19:41
von Schmiddi2
Moin

also irgendwie kriege ichs nicht hin, hab sowohl phpmyadmin als auch mysqldumper, aber was muss ich da jetzt konkret machen???

Danke

Re: Update auf 3.0.6 Fehler Datenbank Schema

Verfasst: 01.12.2009 20:35
von Metzle
Du musst die SQL-Befehle, die dir das Skript ausgegeben hat, ausführen in deiner DAtenbank.

Re: Update auf 3.0.6 Fehler Datenbank Schema

Verfasst: 02.12.2009 18:52
von Schmiddi2
yo danke, habs jetzt hinbekommen.
Kenne mich mit diesem SQL Kram bisher nicht wirklich aus und fand es etwas verwirrend, dass man nirgends sieht was erfolgreich ausgeführt wurde.