Thanks for your suggestion!
Following it I'm trying to do it in this way:
<?
//Prepare DBs connections
$host="localhost";
$db="userstat";
$user="xxxxx";
$password="xxxxxxxxxxxxx";
$connect = mysql_connect ($host, $user, $password) or die ("Impossibile connettersi al DB");
mysql_select_db ($db, $connect) or die ("Impossibile selezionare il db $db");
?>
$inserting = mysql_query(" LOAD DATA [LOW_PRIORITY | CONCURRENT] INFILE '/var/www/userstat/db_portale_TOTALuser.csv'
[REPLACE | IGNORE]
INTO TABLE users
[FIELDS
[TERMINATED BY ';']
[ESCAPED BY '' ]
]
[LINES TERMINATED BY '\n']
[IGNORE number LINES]
[(`id` , `civilte` , `first_name` , `last_name` , `updating` , `request_date` , `date_of_birth` , `email` , `email_part_1` , `email_part_2` , `work_phone` , `home_phone` , `mobile_phone` , `pager` , `fax` , `home_addr1` , `home_addr2` , `home_addr3` , `home_city` , `home_state` , `home_zip` , `home_country` , `password` , `nome_utente` , `livello` , `voltimum_answer` , `payment_status` , `company_id` , `function_in_compagny` , `federation` , `use_product` , `newsletter` , `loyalty_point` , `accept_news` , `building_type_1` , `building_type_2` , `building_type_3` , `building_type_4` , `building_type_5` , `building_type_6` , `building_type_7` , `building_type_8` , `projet_hors_bat` , `specialities_1` , `specialities_2` , `specialities_3` , `specialities_4` , `specialities_5` , `adm_federation` , `adm_company` , `creation_step` , `contratto` , `data_fine_contratto` , `billing_address` , `autorizzato_da` , `processo_di_rinnovo_abbonamento` , `relance-0-status` , `relance-1-status` , `froze_status` , `codice_di_sconto` , `data_inizio_contratto` , `prefered_language` , `site_id` , `adsl` , `prefered_website_1` , `prefered_website_2` , `prefered_website_3` , `prefered_website_4` , `vlt_id_2` , `name` , `profilo` , `correction` , `employee` , `area_covered` , `code_naf` , `city` , `state` , `postal_code` , `phone` , `address_1` , `address_2` , `address_3` , `country_id` , `fax_2`)]")
?>
It doesen't do anything? 🙁
What is wrong?