?
Solved

Insert .CSV file into a MYSQL database

Posted on 2009-07-06
1
Medium Priority
?
523 Views
Last Modified: 2013-11-10
I'm grabbing some system stats (every 10 minutes)from a server which i'm importing into a .CSV file. This file is then collected and moved to another computer.

What I now want to do is have a scheduled task that runs a VBScript that inserts the data from the .CSV file(s) into a MYSQL database.

So what i'm after is a script that will look in a folder for any .csv files, insert them into a table in my database and then delete the .csv file from the folder.

Only problem is i'm not sure how to approach this. I'm guessing VBScript is the best way to go for this as I want to run it as an automated task.

Does anyone have any better ideas for what i'm wanting to do or anyone able to help with the coding?
DiskSpace-20090703.csv
0
Comment
Question by:burnoutuk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
burnoutuk earned 0 total points
ID: 24799654
Ok, as a simple request.

How in vbscript would I insert data from a .CSV file into a MYSQL database?
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question