Importer script SQL vers PhpMyAdmin
Posté : 25 mars 2011, 09:50
J'ai crée un schema très simple mais impossible de l'importer dans PhpMyAdmin.
Voici l'erreur inscrite lorsque j'importe au format SQL
Erreur
requête SQL:
-- ---
-- Globals
-- ---
-- SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-- SET FOREIGN_KEY_CHECKS=0;
-- ---
-- Table 'eleve'
--
-- ---
DROP TABLE IF EXISTS `eleve` ;
MySQL a répondu: Documentation
#1046 - No database selected
et l'erreur au format xml:
Erreur
requête SQL:
CREATE DATABASE IF NOT EXISTS DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
MySQL a répondu: Documentation
#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 'DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci' at line 1
Merci de m'aider sur la bonne méthode à utilisé.
Voici l'erreur inscrite lorsque j'importe au format SQL
Erreur
requête SQL:
-- ---
-- Globals
-- ---
-- SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-- SET FOREIGN_KEY_CHECKS=0;
-- ---
-- Table 'eleve'
--
-- ---
DROP TABLE IF EXISTS `eleve` ;
MySQL a répondu: Documentation
#1046 - No database selected
et l'erreur au format xml:
Erreur
requête SQL:
CREATE DATABASE IF NOT EXISTS DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
MySQL a répondu: Documentation
#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 'DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci' at line 1
Merci de m'aider sur la bonne méthode à utilisé.