Bonjour,
Je souhaite faire ce tuto http://dsilvera.developpez.com/tutor...es-script-php/ mais je bloque sur la première partie : l'insertion du code pour la base de donnée dans phpmyadmin :
Lorsque que je met le code :j'ai toujours la même erreur :
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
24
25
26
27
28 -- phpMyAdmin SQL Dump -- version 2.6.4-pl4 -- http://www.phpmyadmin.net -- -- Host: localhost -- -- -------------------------------------------------------- -- -- Création Table `auth_table` -- CREATE TABLE IF NOT EXISTS auth_table ( user_id int(10) UNSIGNED NOT NULL AUTO_INCREMENT, username varchar(20) NOT NULL DEFAULT '', password varchar(32) NOT NULL DEFAULT '', PRIMARY KEY (user_id), UNIQUE KEY username (username), ) TYPE = InnoDB; -- -- Insertion Table `auth_table` -- INSERT INTO auth_table (username, password) VALUES ('test', MD5('pass'));Merci de m'aider.#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 '=InnoDB' at line 20
Partager