#1064 : Erreur Syntax MySQL
sofiane-lasri
Messages postés
157
Date d'inscription
Statut
Membre
Dernière intervention
-
Utilisateur anonyme -
Utilisateur anonyme -
Bonjour, j'ai suivi ce tutoriel pour OwnCloud https://www.vincentliefooghe.net/content/owncloud-convertir-la-base-sqlite-%C3%A0-mysql et j'ai eu une erreur à partir du sous-chapitre "Création de la base MySQL et import des données", plus particulièrement en lançant la commande mysql -u USER --password=PASS DB < owncloud.sql .
Apparemment il y a une erreur de syntaxe dans le code de la bdd mysql mais comme je n'y connait rien... :/
voici le code. C'es à la ligne 1 que çà se passe apparement. (#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 'CLOB DEFAULT NULL, PRIMARY KEY(`appid`, `configkey`))' at line 1 )
Ce n'est pas le code entier, il est disponible ici si çà peux vous aider à m'aider. :/
https://pastebin.com/RA9Zgzay
Merci d'avance!
Apparemment il y a une erreur de syntaxe dans le code de la bdd mysql mais comme je n'y connait rien... :/
voici le code. C'es à la ligne 1 que çà se passe apparement. (#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 'CLOB DEFAULT NULL, PRIMARY KEY(`appid`, `configkey`))' at line 1 )
SET sql_mode='NO_BACKSLASH_ESCAPES';
CREATE TABLE `oc_appconfig` (`appid` VARCHAR(32) DEFAULT '' NOT NULL, `configkey` VARCHAR(64) DEFAULT '' NOT NULL, `configvalue` CLOB DEFAULT NULL, PRIMARY KEY(`appid`, `configkey`));
INSERT INTO `oc_appconfig` VALUES('core','installedat','1513979512.8937');
INSERT INTO `oc_appconfig` VALUES('core','lastupdatedat','1514039803');
INSERT INTO `oc_appconfig` VALUES('comments','installed_version','0.3.0');
INSERT INTO `oc_appconfig` VALUES('comments','types','logging,dav');
INSERT INTO `oc_appconfig` VALUES('comments','enabled','yes');
INSERT INTO `oc_appconfig` VALUES('files_sharing','installed_version','0.10.0');
INSERT INTO `oc_appconfig` VALUES('core','public_files','files_sharing/public.php');;
Ce n'est pas le code entier, il est disponible ici si çà peux vous aider à m'aider. :/
https://pastebin.com/RA9Zgzay
Merci d'avance!
A voir également:
- #1064 : Erreur Syntax MySQL
- 1064 bouygues - Guide
- Numéro Bouygues : comment contacter le service client ? - Guide
- Bouygues augmente le prix des forfaits B&You : surveillez vos mails ! - Guide