Seite 1 von 1

My SQL Fehler beim Befehl eingeben

Verfasst: 29.10.2006 21:22
von Westpark
Wie kann ich solche Befehle Ausführen in MySQL
Also ich hab da so ein phpmyadmin von Funpic

Code: Alles auswählen

 TABLE phpbb_album (
	pic_id int(11) UNSIGNED NOT NULL auto_increment,
	pic_filename varchar(255) NOT NULL,
	pic_thumbnail varchar(255),
	pic_title varchar(255) NOT NULL,
	pic_desc text,
	pic_user_id mediumint(8) NOT NULL,
	pic_username varchar(32),
	pic_user_ip char(8) NOT NULL DEFAULT '0',
	pic_time int(11) UNSIGNED NOT NULL,
	pic_cat_id mediumint(8) UNSIGNED NOT NULL DEFAULT '1',
	pic_view_count int(11) UNSIGNED NOT NULL DEFAULT '0',
	pic_lock tinyint(3) NOT NULL DEFAULT '0',
	pic_approval tinyint(3) NOT NULL DEFAULT '1',
	PRIMARY KEY (pic_id),
	KEY pic_cat_id (pic_cat_id),
	KEY pic_user_id (pic_user_id),
	KEY pic_time (pic_time));
Ich finde da keine Option für Befehle. Und jtezt nicht wieder mti dem suchen kommen, weil ich hab gesucht!

Re: MySQL Befehle

Verfasst: 29.10.2006 21:25
von gloriosa
Hallo,
das
Westpark hat geschrieben:Und jtezt nicht wieder mti dem suchen kommen, weil ich hab gesucht!
ist zu bezweifeln, denn dann wären Dir Beiträge wie dieser mit der ausführlichen Beschreibung an einem Beispiel aufgefallen ! :o

Verfasst: 29.10.2006 21:30
von Westpark
ja, jetzt hab ich das eingegeben und jetzt kommt ein FEhler:
MySQL meldet:

#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 'TABLE phpbb_album (
pic_id int(11) UNSIGNED NOT NULL auto_increment,
pic_fil' at line 1