phpmyadmin / phpmyadmin/phpmyadmin

Import CSV shows success and failure as a result

Open
#19,414 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects/5.2 affects/6.0 Bug confirmed/5.2 confirmed/6.0
Dominant language
PHP
Stars
7.9k
Forks
3.6k
Avg merge
4d 18h
Merged PRs (30d)
36

Description

Describe the bug

The import should show failure

To Reproduce

Import a CSV file with a column name that is longer than any limit or MySQL/MariaDB.
Or mess up the delimiter, and it will create one column using all the column names concat with a ,

Expected behavior

Only display an error

Screenshots

TODO

Server configuration
  • phpMyAdmin version: 5.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CSV import with an overlong column name or an incorrect delimiter in phpMyAdmin 5.2, and trace how the import result reports database errors. The work is done when these cases display only a failure result rather than both success and failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, mysql, php
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.