Find Jobs
Hire Freelancers

Copy CSV File Contents to MySQL

$10-30 AUD

Completed
Posted almost 9 years ago

$10-30 AUD

Paid on delivery
I have hundreds of CSV files. I need the contents of certain columns within the CSV copied to a MySQL database. I would like a Bash script or PHP file to read all the files in a folder and then copied to the MySQL database. The PHP or Bash script needs to read in variables for: * The locations of the CSV files * MySQL Hostname * MySQL Username * MySQL password * MySQL database * MySQL table The CSV files contains the date/time in a format of dd/mm/yyyy hh:mm:ss This needs to be written to SQL in the format of yyyy-mm-dd hh:mm:ss Attached is a copy of a CSV file so you know what to expect. Attached is a copy of the table format. The CSV file contains the following fields: DATE, TIMESTAMP, TEMP, VPV1, IAC, VAC, FAC, PAC, ETOTAL, HTOTAL, MODE, ETODAY, ETOTALH, HTOTALH, ERR_GV, ERR_GF, ERR_GZ, ERR_TEMP, ERR_PV1, ERR_GFC1, ERR_MODE, UNK10 The fields from CSV that need to be copied to MySQL are: date - date or (timestamp - date) temp - temp VPV1 - VPV IAC - IAC VAC - VAC FAC - FAC PAC - PAC ETOTAL - ETOTAL HTOTAL - HTOTAL MODE - MODE ETODAY - ETODAY If the value of PAC in the CSV file is equal to 0 then do not write that particular row to MySQL. The PHP and BASH commands must be compatible with BASH 4.2 and PHP 5.4 with no depreciated commands so there is a high chance of forward compatibility in the next few years.
Project ID: 8185452

About the project

26 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I have created and tested the script only remaining is inserting into database which can be done if shortlisted. Result of 1 row where PAC != 0 : Array ( [DATE] => 19/06/2015 06:43:24 [TIMESTAMP] => 1434660204 [TEMP] => 8.9 [VPV1] => 358.3 [IAC] => 0.2 [VAC] => 240.7 [FAC] => 50 [PAC] => 20 [ETOTAL] => 6101.2 [HTOTAL] => 12407 [MODE] => 284 [ETODAY] => 0 [ETOTALH] => 0 [HTOTALH] => 0 [ERR_GV] => 0 [ERR_GF] => 0 [ERR_GZ] => 0 [ERR_TEMP] => 0 [ERR_PV1] => 1 [ERR_GFC1] => 0 [ERR_MODE] => 0 [UNK10] => 0 ) I have 2 years of experience as PHP Web Developer and 1 year of exp. as SEO Executive. Skills : Codeigniter, PHP, Javascript, Jquery, Ajax, Mysql, Json, HTML, API You can have a look at few ofmy work listed in my portfolio on my blog. Blog : [login to view URL]
$15 AUD in 1 day
5.0 (1 review)
0.1
0.1
26 freelancers are bidding on average $55 AUD for this job
User Avatar
HI I have done several job like this. Please come on chat and discuss in detail. I can complete your work in a day. Thanks
$29 AUD in 1 day
4.9 (338 reviews)
8.4
8.4
User Avatar
Are all csv files formatted the same way? What is the max number of rows in each csv file? I could use only the latest functions to ensure forward compatibility for years to come. I have no other projects in progress and could start right away!
$50 AUD in 1 day
5.0 (91 reviews)
7.5
7.5
User Avatar
Hello Freelancer, Greetings! I checked your requirement. We are very much comfortable in building the script to read all files of a folder to database. We are able to start on your project immediately. We have skilled team to finish it. Sandeep (Sandyagg)
$157 AUD in 5 days
4.9 (214 reviews)
7.5
7.5
User Avatar
Hi I have check your project requirement. Can you please tell me will be the format of the csv files always same or they can be changed? Regards Shihan
$50 AUD in 1 day
4.9 (321 reviews)
6.8
6.8
User Avatar
I am Jasbir Singh (Web Professional). I saw your requirement in your job post and i fulfill all those requirement. I can do this job perfectly, so you can discuss more with me and award me the job. i want long term client relationship having essence of honesty, understanding and perfection, so if you have plan for future work then we could become perfect business partner. Just Ping me whenever you will come online, i am online on freelancer.com android app, so i will receive your message whenever you messaged me. i am available 24X7 for work except 8 hour sleeping time :) Thanks & Regards Jasbir Singh (Owner) TGI Softech, INDIA
$34 AUD in 1 day
5.0 (136 reviews)
6.4
6.4
User Avatar
Hi, I am very interested to work on your project: 'Copy CSV File Contents to MySQL' As implementation offer, I propose developing a script to import csv to mysql db . I have 10 years experience in php scripting and few of my projects related with yours can be seen on my freelancer.com portfolio. Notice: **My BID IS RELATIVE and negotiable on your request** My 10+ years background in: - server side programming(php, C#, C++, Java, VBA, Python etc) ; - client side programming and design(HTML/HTML5, CSS, JavaScript, JQuery, Ajax etc); - database development(MySQL, PostgreSQL, MSSQL, Informix, Access, NoSQL etc); - multiple web frameworks(Wordpress, Symfony, Drupal, CodeIgniter, Yii, PrestaShop, WooCommerce etc), - CRM (SuiteCRM, VTiger, Zoho, Infusion) , ERP ( OpenERP) - HRM Software (OrangeHRM platform) - Google App, Web Services, Mobile App, Amazon App, RESTful ; - data processing, - web scrapping any kind of data - software testing - email management on large scale applications(with complete services on architecture, design, implementation, customization, SAAS) make me very confident that we can have a successful collaboration. I suggest we start as soon as possible by sending me all the necessary technical information and agree on the final details Thank you!
$244 AUD in 12 days
5.0 (66 reviews)
6.0
6.0
User Avatar
I can read csv data to mysql I am a php mysql,wordpress,javascript & css expert. I am ready to start with your project. we can accomplish this endeavor hastily. 100% accuracy, delivery in right time and within budget is guaranteed. we can discuss forward for this project
$35 AUD in 1 day
5.0 (27 reviews)
5.2
5.2
User Avatar
I am mysql DBA having more then 5 yrs of experience in sql Oracle and mysql
$20 AUD in 1 day
4.9 (48 reviews)
5.3
5.3
User Avatar
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaa
$210 AUD in 1 day
4.9 (10 reviews)
4.4
4.4
User Avatar
A proposal has not yet been provided
$30 AUD in 1 day
5.0 (13 reviews)
3.9
3.9
User Avatar
My team includes experienced sysadmins & developers who manage Cloud infrastructure(on AWS, Google Cloud, Rackspace) for various clients across globe for last 9 years. Other programming skills like ROR, Python, AngularJS, PHP. etc and automation tools used like Jenkins, chef etc. and Databases handled like Mysql, Postgresql, mongodb etc. I have understood the requirement. Please share the further details and will get started immediately. Feel free to contact me for further discussion.
$50 AUD in 0 day
5.0 (7 reviews)
2.8
2.8
User Avatar
Piece of cake :) Bash scripting is my favorite tasks. Let me sort it for you almost for free... I have more tat 15 years experience so this would be really easy.
$20 AUD in 1 day
5.0 (6 reviews)
2.8
2.8
User Avatar
La propuesta todavía no ha sido proveída
$45 AUD in 1 day
5.0 (5 reviews)
2.3
2.3
User Avatar
My name is Henry I am from Bolivia. I can do the work of creating a CSV migration script to MySQL. I have a base run by command line, besides this modularized. I hope to work with you. Thank you.
$40 AUD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have the expertise to deliver this project as i have worked on similar projects frequently. This can be done just using PHP and MySQL.
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have php sites and bash scripts of this kind (download from website and dump it to SQL) in my own projects, I can easily write it for you within hours.
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
i have already developed this as desktop application. want to see demo?
$30 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I develop highly customized web applications for organizations around the globe. I work closely with clients of all sizes, shapes and needs and develop custom software solutions that bring value to your business' bottom line. Developing a custom web application for your company can streamline business processes, enhance efficiency and increase staff productivity. In short, my applications make your life easier. I am capable of tackling even the most complex business logic. I offer innovative, trustworthy software solutions to complement your specific business needs. Micah and David both have over 15 years of professional development experience creating extremelly successful applications for clients just like you.
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I got 2 years of experience in PHP-Mysql development.I can do this as per your requirement and proactive in nature.
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Springfield Lakes, Australia
5.0
4
Member since Oct 2, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.