Bonjour,
Malgré toutes mes recherches, je ne trouve pas mon ou mes erreurs...
Je veux installer une table:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CREATE TABLE letopdutop (
   id int(9)  AUTO_INCREMENT,
   titre longtext NOT NULL,
   description longtext NOT NULL,
   siteurl longtext NOT NULL,
   banurl longtext,
   email longtext NOT NULL,
   password longtext NOT NULL,
   bh int(9) DEFAULT '0' NOT NULL,
   bw int(9) DEFAULT '0' NOT NULL,
   entree int(7) DEFAULT '0' NOT NULL,
   sortie int(7) DEFAULT '0' NOT NULL,
   PRIMARY KEY (id)
);
 
CREATE TABLE anticheat
(
ID INT NOT NULL AUTO_INCREMENT,
ip VARCHAR(30),
idsite VARCHAR(100),
time INT,
PRIMARY KEY(ID)
);

et voici ce que mon serveur me répond
Error
SQL query:

CREATE TABLE letopdutop(

id INT( 9 ) AUTO_INCREMENT ,
titre LONGTEXT NOT NULL ,
description LONGTEXT NOT NULL ,
siteurl LONGTEXT NOT NULL ,
banurl LONGTEXT,
email LONGTEXT NOT NULL ,
PASSWORD LONGTEXT NOT NULL ,
bh INT( 9 ) DEFAULT '0' NOT NULL ,
bw INT( 9 ) DEFAULT '0' NOT NULL ,
entree INT( 7 ) DEFAULT '0' NOT NULL ,
sortie INT( 7 ) DEFAULT '0' NOT NULL ,
PRIMARY KEY ( id )
);

MySQL said: Documentation

#1046 - No database selected
Est-ce que quelqu'un pourrait m'aider s'il vous plaît.
Merci