How to convert excel to mysql | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to convert excel to mysql

Hello guys, does anyone have an idea of how to convert an excel data file into a mysql database?

7th Dec 2016, 9:52 AM
Bugingo K. Daniel
Bugingo K. Daniel - avatar
2 Respostas
+ 1
Export it into some text format. The easiest will probably be a tab-delimited version, but CSV can work as well. Use the load data capability. Look half way down the page, as it will gives a good example for tab separated data: FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\' Check your data. Sometimes quoting or escaping has problems, and you need to adjust your source, import command-- or it may just be easier to post-process via SQL.
7th Dec 2016, 11:11 AM
Akwin Lopez
Akwin Lopez - avatar
0
Thanks Lopez. let me try that out.
7th Dec 2016, 6:01 PM
Bugingo K. Daniel
Bugingo K. Daniel - avatar