Impoter fichier csv to mysql

Bonjour,
j'ai une fichier GeoIPCountryWhois.csv contient toutes les Ip contry comme suit:
A1:

2.6.190.56,"2.6.190.63","33996344","33996351","GB","United Kingdom"

je ve l'importé en MySqL

merci d'avance!

JozZ
Configuration: Windows XP
Firefox 2.0.0.20

4 réponses

  1. Salut,
    Insert into <nom_de_la_table> (<champs1>, <champs2>, <champs3>, <champs4>, <champs5>, <champs6>)
    values (2.6.190.56,"2.6.190.63","33996344","33996351","GB","United Kingdom")


    Bien sur, il ne faut pas mettre les < >
    0
    1. Désolé, je suis complètement à coté de la plaque ;)
      0
  2. re bonjour,
    voilà la probléme !

    Mysql packet size is 1MB and it is lower than the size of the file GeoIPCountryWhois.csv which is 7.93MB.
    Please download the other version of import.php at http://phpweby.com/software/ip2country

    message affihage :(!

    merci!
    jozZ
    0
    1. ah oui c'est vrai sous phpmyadmin t'es limité à des fichiers de 1Mb et là ton fichier est plus de 7 fois trop gros.
      Regarde la solution via php
      0