18 Sep
2007
18 Sep
'07
5:44 p.m.
Hi Albert, hab gerade mal dein Script getestet und ich muss sagen es funktioniert bei mir ohne Probleme. Vielleicht solltest du kontrollieren ob es irgendwelche Versions-Konflikte gibt.
CREATE TABLE `foobar` ( `my_index` bigint(20) NOT NULL COMMENT 'Zum Testen', `word` varchar(60) NOT NULL COMMENT 'Das Word', `anzahl` int(11) NOT NULL COMMENT 'Anzahl der Wörter', PRIMARY KEY (`index`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
ich nehme an PRIMARY KEY ('my_index')
Das Ganze läuft unter Linux, MySQL Version: 5.0.26-Max
Server: Debian, Mysql 5.0.45 Client: WinXP, Python 2.5.1, MySQLdb 1.2.2 Viel Erfolg bei der Fehlersuche, Alexander