![]() |
SQL Error - Druckversion +- MyBB.de Forum (https://www.mybb.de/forum) +-- Forum: MyBB 1.8.x (https://www.mybb.de/forum/forum-87.html) +--- Forum: Installation, Aktualisierung und Merge System (https://www.mybb.de/forum/forum-89.html) +--- Thema: SQL Error (/thread-30642.html) |
RE: SQL Error - Vigilante Colmena - 28.09.2014 Da bekomme ich die Fehlermeldung: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `mybb_PFAmoderators` ADD `canusecustomtools` INT(1) NOT NULL DEFAULT' at line 2 RE: SQL Error - Jockl - 28.09.2014 Was genau gibst Du in der Konsole von PHPMyAdmin ein? Kannst Du das hier mal posten? RE: SQL Error - Vigilante Colmena - 28.09.2014 ALTER TABLE `mybb_PFAmoderators` ADD `canusecustomtools` INT(1) NOT NULL DEFAULT '0'; RE: SQL Error - Jockl - 28.09.2014 Probiere mal folgendes: Code: ALTER TABLE mybb_PFAmoderators ADD canusecustomtools TINYINT(1) NOT NULL DEFAULT '0'; RE: SQL Error - Vigilante Colmena - 28.09.2014 Da bekomme ich eine die Fehlermeldung: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE mybb_PFAmoderators ADD canusecustomtools TINYINT(1) NOT NULL DEFAULT' at line 2 RE: SQL Error - StefanT - 29.09.2014 Was hast du vor diesem Befehl eingegeben? Denn der SQL-Code von Jockl hat nur eine Zeile, aber der Fehler tritt in Zeile 2 auf. RE: SQL Error - Vigilante Colmena - 29.09.2014 Das was da schon stand: SELECT * FROM `mybb_PFAmoderators` WHERE 1 RE: SQL Error - Vigilante Colmena - 29.09.2014 Habe es mal ohne die erste Zeile versucht, da bekomme ich die Fehlermeldung: #1046 - No database selected RE: SQL Error - Jockl - 29.09.2014 (28.09.2014, 17:15)Jockl schrieb: Vielleicht hilft Dir dieses Thema weiter. Siehe dort "Das ist ja alles ganz toll aber wie und wo führe ich die Queries nun aus?" Hast Du Dir das Thema denn wirklich durchgelesen? Dort steht recht gut beschrieben, wie man sich im PHPMyAdmin bewegt. Um den o.a. Query durchführen zu können musst Du natürlich in die Datenbank Deines Forums gehen. Ansonsten kommt eben die Meldung "No database selected" (keine Datenbank ausgewählt)...... RE: SQL Error - Vigilante Colmena - 29.09.2014 Wie gesagt auf dem Wege bekomme ich die Fehlermeldung: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE mybb_PFAmoderators ADD canusecustomtools TINYINT(1) NOT NULL DEFAULT' at line 2 |