Sedang Disiapkan

mysql databases two way synch

Actually I need a php script to synchronise two mysqldatabases so any change made to one add/edit/delete to be also updated to the other .

Lets call Database1 and Database2

The two databases will be synch via email attachments so I need changes from the one to the other database to be recorded to text files .

Also I already have an audit table in my database which automatically records any

change made to any table and field on the format you see on the attached mysql databases, your script will read that table and transfer changes as described on that table only .

Also both databases will import/export changes as described in ope064_ssa_audit table , so we are talking for two-way synch .

So the Freelancer that will do the job should carefully ready the requirements ,see my “ope064_ssa_audit” which is the audit table ,and before accept the job to come with questions etc.

I will not accept Freelancers that will accept the job and then say that the did not read the requirements I will rate them badly .

I need a php script to perform following operation .

Attached mysql tables

1. Export from Database1

See mysql “ope064_ssa_audit” table .

That table contain following columns :

- Datetime

- Ip

- User ( that contains the user details i.e. admin , chris , john )

- Table ( specifies the table name that the changes made)

- Action ( change action made i.e. edit or add or delete )

- Description ( there is recorded the change made on the table )

- Flag ( if flag = 0 then the changes not yet send to the other database , if flag=1 changes send and logged )

- Importexportlog ( if flag = 0 then that field is empty , once user is ready to sent changes made then click the button that runs your php script which collects the flag=1 rows information and prepare a text file to a folder path , writes on importexportlog field that next export sequence performed i.e. ATH001,ATH002,ATH003 ETC. and turn flag from 1 to 0.)

Then your script must write to table ‘exportlog’ field ‘exportlog’ same value that you enter on table “ope064_ssa_audit” field importexportlog. i.e. ATH001 OR ATH002 ETC.

The text file that is created from above operation must also include a checksum for use in building hash indexes so if the information in the text somehow is changed from user to not imported from to the other mysqldatabase and request again to resend it .

THE text file should named same with importexportlog i.e. ATH001 etc.

2. Import to Database 2 ( which contains same tables with database 1)

- User will get an email that will contain the text file attachment send via the export operations and will copy/paste it to a specific folder path i.e. C:/import

- Then will push the button that will run your php import script that will read it and will import / update / delete the rows of the tables.

- Important checksum must return an error if any column is of noncomparable data type and pop up a window to user and say “please request again import file No. ATH001” or whatever is the name .

- Also if user try to import ATH003 text file for example and in the database previously only added ATH001 And not ATH002 then again must pop up a window and advise user that “Import Operation of ATH003 was not performed because import ATH002 is missing from the records” I assume that to do so must be checked that importlog table records the files already imported

Kemahiran: MySQL, PHP

Lihat lebih lanjut: there was an error with your request. please try again, synchronise it, prepare for freelancer, mysql job freelancer, mysql freelancers, mysqldatabase, john freelancer, information audit, freelancer way, freelancers way, freelancers php mysql, freelancers advise, freelancer path 1.1, freelancer operations, freelancer john, freelancer it audit, freelancer in path, freelancer folder, freelancer export, freelancer email change, freelancer databases, freelancer change name, freelancer change email, freelancer attachments, freelancer accept rate

Tentang Majikan:
( 19 ulasan ) -, Greece

ID Projek: #4048164

Dianugerahkan kepada:

astirbytes

Hello , i read your description. i am very interest to take this job. let me do this.

€49 EUR dalam sehari
(26 Ulasan)
4.8

3 pekerja bebas membida secara purata €46 untuk pekerjaan ini

zk230182

Hi I hope you'll be fine.I've studied your project specifications and I'm ready to provide you mysql databases two way sync.I can do this in less time

€70 EUR dalam sehari
(39 Ulasan)
6.3
jaisnikhil

Hi there, I am ready to start, please check your PMB.

€50 EUR dalam 2 hari
(22 Ulasan)
4.5
navnit2011

Hi, I am from Exinary Technologies. I have good expertise and skills in Html5, Css3, Jquery, Ajax, Wordpress, Magento and responsive layouts. Keeping my fingers crossed for a positive reply from your side. Lagi

€40 EUR dalam 7 hari
(4 Ulasan)
2.8
danangvw

I have bachelor and master degrees in IT. My Primary skills include Java, VB/.NET, Delphi, and PHP. Also database skills include MS Access, MySQL, and Oracle. My Other skills include server and network administration a Lagi

€40 EUR dalam 5 hari
(0 Ulasan)
0.0