There is a program in c #: the program itself + a database created in MS SQL Server Manager Studio. At the moment, the database is on my PC (Windows), but later it needs to be uploaded to the server with Linucs (database management via phpMyAdmin). Question what difficulties may arise with unloading the database? Whether there will be problems if on the server mySQL and I have MS SQL Server? The C # program uses SqlClient (SqlCommand, SqlConnection ect) and on the local Windows server everything works fine, but will there be any problems when the database is transferred to a remote Linucs?
1 answer
You will have a lot of problems. Use the .Net provider of MySQL, install MySQL on a working machine, with the help of MySQLWorkbench, try to manually transfer the database from MS SQL to MySQL using script generation.
Further maintenance and refinement can be done MySQLWorkbench, it is better and more convenient than phpMyAdmin. Rewrite code using the classes MySql.Data.MySqlClient, almost everything is similar to System.Data.SQLClient
- Is the working machine in this case my PC or server? Where to put the workbench? - Sergey
- Your Windows machine on which you encode. - Azamat Galiyev
- And for further refinement, instead of phpMyadmin, can Workbench be installed? - Sergey
- Of course, unlike phpMyAdmin, php + apache or nginxp is no longer needed, you will have a pure Linux machine for the database server. - Azamat Galiyev
|
какие могут возникнуть сложности с выгрузкой БД ? Не будет ли проблем если на сервере mySQL а у меня MS SQL Server ?Difficulties arise, and large. Not all MS SQL constructs are implemented in MySQL, some outwardly the same actually work differently, and in some places it is difficult to choose an analogue. - AkinaSELECT TOP x ...will have to useSELECT ... LIMIT x, and to implementSELECT TOP x PERCENT ...will need to turn around a lot. - Akina