Précédent   Forum des professionnels en informatique > Bases de données > MySQL
MySQL Forum d'entraide MySQL. Avant de poster -> FAQ MySQL, Tutoriels MySQL
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 11/02/2011, 18h25   #1
Invité de passage
 
Inscription : octobre 2006
Messages : 26
Détails du profil
Informations forums :
Inscription : octobre 2006
Messages : 26
Points : 0
Points : 0
Par défaut Probleme d'exportation et d'importation sous PHP/Myadmin

Bonjour
J'ai une base de données SQL sous PHPMyAdmin, j'essaie d'exporter la base pour après l'importer dans ma base se trouvant chez l'hébergeur.
Quand j'importe j'ai ce message :

Erreur

requête SQL:

Code :
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
29
CREATE TABLE `jos_banner` (
`bid` int( 11 ) NOT NULL AUTO_INCREMENT ,
`cid` int( 11 ) NOT NULL DEFAULT '0',
`type` varchar( 30 ) NOT NULL DEFAULT 'banner',
`name` varchar( 255 ) NOT NULL DEFAULT '',
`alias` varchar( 255 ) NOT NULL DEFAULT '',
`imptotal` int( 11 ) NOT NULL DEFAULT '0',
`impmade` int( 11 ) NOT NULL DEFAULT '0',
`clicks` int( 11 ) NOT NULL DEFAULT '0',
`imageurl` varchar( 100 ) NOT NULL DEFAULT '',
`clickurl` varchar( 200 ) NOT NULL DEFAULT '',
`date` datetime DEFAULT NULL ,
`showBanner` tinyint( 1 ) NOT NULL DEFAULT '0',
`checked_out` tinyint( 1 ) NOT NULL DEFAULT '0',
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`editor` varchar( 50 ) DEFAULT NULL ,
`custombannercode` text,
`catid` int( 10 ) UNSIGNED NOT NULL DEFAULT '0',
`description` text NOT NULL ,
`sticky` tinyint( 1 ) UNSIGNED NOT NULL DEFAULT '0',
`ordering` int( 11 ) NOT NULL DEFAULT '0',
`publish_up` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`publish_down` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`tags` text NOT NULL ,
`params` text NOT NULL ,
PRIMARY KEY ( `bid` ) ,
KEY `viewbanner` ( `showBanner` ) ,
KEY `idx_banner_catid` ( `catid` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =9;
MySQL a réponduocumentation
Citation:
#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 CHARSET=utf8 AUTO_INCREMENT=9' at line 29
Citation:
Je ne comprends plus rien, c'est une base d'un site développé sous joomla1.5!
Aidez moi s'il vous plait
Bonne réception!
Kallamou est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 11/02/2011, 22h41   #2
Modérateur
 
Avatar de CinePhil
 
Homme Philippe Leménager
Ingénieur d'études en informatique
Inscription : août 2006
Messages : 10 990
Détails du profil
Informations personnelles :
Nom : Homme Philippe Leménager
Âge : 48
Localisation : France, Haute Garonne (Midi Pyrénées)

Informations professionnelles :
Activité : Ingénieur d'études en informatique
Secteur : Enseignement

Informations forums :
Inscription : août 2006
Messages : 10 990
Points : 18 241
Points : 18 241
Envoyer un message via MSN à CinePhil
Essaie de remplacer MYISAM par MyISAM
__________________
Philippe Leménager. Ingénieur d'étude à l'École Nationale de Formation Agronomique.
Mon blog sur la conception des BDD, le langage SQL, le PHP avec Zend Framework...
« Ce que l'on conçoit bien s'énonce clairement, et les mots pour le dire arrivent aisément ». (Nicolas Boileau)
À la maison comme au bureau, j'utilise Mandriva Linux ou Mageïa ! Soutenons l'industrie logicielle française !
Linuxiens, comptez-vous !
CinePhil est actuellement connecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 09h53.


 
 
 
 
Partenaires

Hébergement Web