Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> #1064 BŁĄD przy tworzeniu tabeli w MYSQL
funky_beat
post
Post #1





Grupa: Zarejestrowani
Postów: 63
Pomógł: 0
Dołączył: 24.05.2007
Skąd: Bełchatów

Ostrzeżenie: (10%)
X----


Witam,

Jestem tu pierwszy raz. Slyszalem od speca php ze są tu ludzie od ktorych sie szkolił dlatego prosze Was o pomoc.

Proboje stworzyc tabele:

  1. CREATE TABLE user (
  2. user_id MEDIUMINT(3) UNSIGNED NOT NULL AUTO_INCREMENT,
  3. username VARCHAR(20) NOT NULL,
  4. access VARCHAR(10) NOT NULL,
  5. email VARCHAR(20) NOT NULL,
  6. haslo VARCHAR(60) NOT NULL,
  7. data_rejstacji timestamp NOT NULL,
  8. PRIMARY KEY (user_id)
  9. ) Type = MyISAM;


Wyskakuje mi błąd:

Kod
#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 'user( user_id MEDIUMINT( 3  ) unsigned NOT  NULL  AUTO_INCREMEN



Wiecie może o co chodzi?


___
poprawilem BB Code, proszę go używać
ActivePlayer
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 11:44