php.de

Zurück   php.de > Webentwicklung > Datenbanken

Datenbanken SQL und Co

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 18.09.2006, 11:26   #1 (permalink)
Neuer Benutzer
 
Registriert seit: 02.12.2004
Beiträge: 4
blu21
Standard Fehlermeldung You have an error in your SQL syntax; check...

Hallo

ich habe grade versucht ein script zu installieren und bekomme folgende Fehlermeldung


CREATE TABLE `pikomedia_shop` ( `atknr` varchar(32) NOT NULL default '', `mid` varchar(20) NOT NULL default '', `network` enum('adbutler','affilinet','belboon','tradedouble r','zanox') NOT NULL default 'affilinet', `title` varchar(255) NOT NULL default '', `description` text NOT NULL, `description_long` text NOT NULL, `link` text NOT NULL, `image` text NOT NULL, `price` decimal(6,2) default NULL, `search` varchar(150) NOT NULL default '',
PRIMARY KEY (`atknr`,`mid`,`network`),
FULLTEXT KEY `search` (`search`)
) ENGINE=MyISAM DEFAULT
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 '' at line 4


weis jemand wo der fehler oben ist ?

blu21 ist offline   Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 18.09.2006, 14:50   #2 (permalink)
Erfahrener Benutzer
 
Registriert seit: 08.06.2004
Beiträge: 865
RudiS
Standard

Du musst das letzte DEFAULT entfernen (das nach ENGINE = MYISAM), dann funktioniert es.
mfg RudiS
__________________
Kunst kommt von Können und nicht von wollen, denn sonst würde es ja Wunst heißen.
RudiS ist offline   Mit Zitat antworten
Alt 18.09.2006, 15:34   #3 (permalink)
Neuer Benutzer
 
Registriert seit: 02.12.2004
Beiträge: 4
blu21
Standard

hallo

danke dann schaue ich mal das ich das finde ..

weil ich irgend wie nicht raus bekommen wo ruber er installiert ..

danke für die Hilfe
blu21 ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
You have an error in your SQL syntax near PHP Tipps 2005-2 1 06.10.2005 21:55
[solved] Parse-Fehler bei INSERT INTO Datenbanken 19 15.08.2005 13:56
Session und Fehlermeldung Your script possibly relies on a.. nieselfriem PHP Tipps 2005-2 2 17.06.2005 16:08
[Erledigt] #1064 - You have an error in your SQL syntax. Datenbanken 8 27.05.2005 14:13
Bei Datenbankabfrage kommt 'You have an error in your SQL .' PHP Tipps 2005 3 01.02.2005 17:51
You have an error in your SQL syntax Creativ Datenbanken 1 20.10.2004 16:00
You have an error in your SQL PHP Tipps 2004 11 16.06.2004 14:24

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
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, 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 \'\' at line 1, 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 \'\' at line, sql syntax checker, you have an error in your sql syntax, you have an error in your sql syntax check the manual that corresponds to your mysql, #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 \'\' at line 2, you have an error in your sql syntax; check the manual that corresponds to your mysql, you have an error in your sql syntax; check the manual that corresponds to your mysql server, 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 \'\' at line 17, 1064 - you have an error in your sql syntax, #1064 - you have an error in your sql syntax;, #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, mysql error: 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 \'\' at line 1, 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 \')\' at line 1, \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 \'\' at line\, http://www.php.de/datenbanken/42143-fehlermeldung-you-have-error-your-sql-syntax-check.html, 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 \'.26\' at line 1, #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 \'\' at line 1, you have an error in your sql syntax;

Alle Zeitangaben in WEZ +2. Es ist jetzt 22:20 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.