Insert CSV File Data in MySQL using Golang | Insert csv file data in mysql golang | Dr Vipin Classes

preview_player
Показать описание
Golang Interview Question: How to insert csv file data in mysql using golang | Dr Vipin Classes

About this video:
In this video, I explained about following topics:
1. How to read csv file in golang?
2. How to insert csv file data in mysql using golang?
3. How to open MySQL connection in golang?

#Go, #golang, #drvipinclasses
My Other Playlists
1. Data Structure using Golang

2. Web Development using Golang

3. Go / Golang Tutorials

4. Kotlin Android Tutorials

5. Spring Boot Tutorials

6. Spring Framework

7. JavaScript ES 6

8. Java Features

9. Seaborn Python

10. Firebase with Kotlin

11. Kotlin Android Jetpack Library & MVVM

12. Kotlin SQLite and ROOM API Tutorials

13. Java Tutorials

14. MongoDB for Beginners

15. Java Multi-Threading

16. Java File Handling

17. Node JS for Beginners

18. Kotlin for Beginners
Рекомендации по теме
Комментарии
Автор

I used this concept to insert json file data into mysql, thanks a lot sir

ishan_sinha
Автор

Thanks sir for creating video on demand.
Sir I want to upload CSV file and from there CSV data upload to mysql.

srikantprasad
Автор

hello sir, you are doing multiple insertions; Insted of doing this:
INSERT INTO table_name (field1, filed2, field3) VALUES (value1, value2, value3);
INSERT INTO table_name (field1, filed2, field3) VALUES (value4, value5, value6);
INSERT INTO table_name (field1, filed2, field3) VALUES (value7, value8, value9);
INSERT INTO table_name (field1, filed2, field3) VALUES (value10, value11, value12);
INSERT INTO table_name (field1, filed2, field3) VALUES (value13, value14, value15);

It is better if you do just un insertion with all the data:
INSERT INTO table_name (field1, filed2, field3) VALUES
(value1, value2, value3),
(value4, value5, value6),
(value7, value8, value9),
(value10, value11, value12),
(value13, value14, value15);

do you know how to do it in golang? I'm googling but havent find anything yet.

sebastiansilvavidal
join shbcf.ru