I have 2 systems (One in asp and one in PHP ) The one in asp is connected to SQL server and PHP to MySQL.
In SQL Server
I have a table called "Clients". This table is updated every 2 or 3 days.
In MySQL
, I have replicated that same client table that feeds the system in PHP
.
At the moment they are working "OFFLINE", that is to say, the "Clients" table of MySQL
is never updated, since it is a process that is done manually every 2 weeks.
My question is if there is the possibility of making a script or something that allows the update automatically every day, or manually, but that is simple, such as pressing a button to run the script and update.
The way I'm doing now is to export from the SQL Server table "clients", and then make an import in MySQL.
But this is a manual task that I can not always do, so I need an alternative so that someone with little knowledge can do it without any problem.
I detail a little more how I perform the process that takes me a long time and I run the risk of making mistakes along the way. (There are times when someone has to do "NO TECHNICAL")
Currently what I do is export a csv, load it into an auxiliary table ( MySQL
) and then perform the query to insert from the auxiliary table ( MySQL
) to the main table ( MySQL
)
Is there any other way to do this?
I tried several things but I did not succeed until now:
From access with php
to SQL Server
until you link and configure the servers.
None of that worked for me.
Is there the possibility of generating something similar to automate the process I described at the beginning?