Invalid column count dans CSV input sur line 1 Erreur

I’m trying to get a “.csv” file onto an SQL database with phpMyAdmin. However, whenever I import it, I get the error: Invalid column count in CSV input on line 1.
I’ve spent all day playing around with different options to try and get it to work but with no avail. There are exactly 47 columns in my .csv file. I have created 47 columns in my SQL table. The names however aren’t exactly the same as the ones in the file. Whenever I import, it keeps giving me that error.
Any help would be greatly appreciated!
~Carpetfizz
One thing I thought might be causing the problem was that the first column isn’t named anything in my excel document. Could this be causing an issue?

EDIT 12:30AM: phpMyAdmin is already the latest version available, via (apt-get install phpmyadmin) (phpmyadmin is already latest version)

Here is the .csv file, if that helps.


Source : Stack Overflow

If your DB table already exists and you do NOT want to include all the table’s columns in your CSV file, then when you run PHP Admin Import, you’ll need fill in the Column Names field in the Format-Specific Options for CSV - Shown here at the bottom of the following screenshot.

In summary:

  • Choose a CSV file

  • Set the Format to CSV

  • Fill in the Column Names field with the names of the columns in your CSV

  • If your CSV file has the column names listed in row 1, set “Skip this number of queries (for SQL) or lines (for other formats), starting from the first one” to 1