Bonjour.

Je suis sous debian linux, j'ai fait mysql
j'ai créé un base de données:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
CREATE DATABASE gestion;
 
GRANT ALL ON gestion TO root@localhost IDENTIFIED BY "test";
GRANT ALL ON gestion TO etienne@localhost IDENTIFIED BY "etg76";
maintenant, je veux créer une table

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
Create Table Formation {
  id integer auto_increment PRIMARY KEY,
  nom char(64) default NULL,
  idcentre integer,
} type=BDB;
Citation Envoyé par mysql
ERROR 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 '{
id integer auto_increment PRIMARY KEY,
nom char(64) defau
Je comprends pas le problème, là.

merci d'avance.