Knowledgebase
Categories
Categories
Can I import csv files using Load Data Infile?
This feature is not supported by cpanel but you can ask support to add File_priv to your db user that needs to import csv files. After that you can use this format on mysql command line utility via ssh:
LOAD DATA LOCAL INFILE 'upload.txt' INTO TABLE mydatabase.mytable FIELDS TERMINATED BY ',' LINES TERMINATED BY '\\n'
Was this answer helpful?
Also Read
phpMyAdmin is a third-party tool included with cPanel, used for maniuplating MySQL databases...
Please login to your control panel and follow these steps to create the database, user and its...
There are two main ways to back up or restore a MySQL database on our servers: via SSH or the...
If you get this error message when trying to use mysql command line utility from shell: Can't...
MySQL is an open source relational database management system. MySQL is noted mainly for its...


