|
This is an English-language site. Please edit your question and post it in English.
Este es un sitio en idioma Inglés. Edite su pregunta y que lo ponga en Inglés.
(Google Translate[^])
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I'm looking for a tool that can migrate a MS SQL Server 2014 database to the latest version of MySQL. The migration includes just tables (structure, keys, indexes, etc.) and their data. Then the product needs to sync any data changes made to the SQL Server database with the MySQL database until I'm confident that the changeover of codebases to MySQL are complete...basically inserts, updates, and deletes. There will not be any schema changes allowed during the migration.
Downtime of the database for a migration is not really an option. In addition, I'm not too keen on the idea of modifying the data access layers to work with both databases (there's a lot of customization I would have to work with). So it seems to me the best place to do this is at the database level itself.
I've been researching tools such as SymmetricDS and ConvertDB. Does anyone have experience with these products that they would like to share? Any other suggestions?
-NP
Never underestimate the creativity of the end-user.
modified 22-Jan-16 17:32pm.
|
|
|
|
|
NickPace wrote: Any other suggestions? Yes; change your requirements.
NickPace wrote: Then the product needs to sync any changes made to the SQL Server database with
the MySQL database until I'm confident that the changeover of codebases to MySQL
are complete. That would include changes to structure and relations.
NickPace wrote: Downtime of the database for a migration is not really an option Then don't change your database structure while your database is up.
Take a look into the sync-framework
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
NickPace wrote: until I'm confident that the changeover of codebases to MySQL are complete
I am with the other responder in that the statement of your situation is either unclear or the actual requirements have not been defined.
I spun up a number of possibilities but there are just too many to cover. I would suggest that you start by defining exactly and specifically how you will determine that the new solution is working correctly before doing anything else.
Additionally unless very strict coding practices were followed the chances that no code changes are needed are rather slim.
|
|
|
|
|
You can use an application named sqlyog. You'll have to copy all the queries used in ms sql server and this can be used to create a database that is same , for mysql. I hope my answer is useful.
|
|
|
|
|
I have SQL Developer 4.1.3 on my PC. I am able to access SQL Server 2008 on a remote server, but only if I specify a USERID/PWD combination. Ideally, I would like to let SQL Server interegate our UID/PWD combination from our DOMAIN login. Does anyone have experience with getting SQL Server to allow login by the UID/PWD values obtained from Domain login?
|
|
|
|
|
Google for "How to set up Windows Authentication Mode security" and read this[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
i have a student data base in access i need help to add some question forms and a counter for which form is active ie which form the student like ??
|
|
|
|
|
So, do you want to keep track of which form is used and how often? Do you want to track counts by student?
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
|
It could be a dumb question, and tried to search for it and found nothing.
I been using mysql for years(not that to long) but i never had tried mysql transactions. Now my question is, what would happen if i issue an insert or delete statement from multiple clients using transactions? does it would lock the table and prevent other client to perform there query? what would happen if other client issue a transaction query while the other client still have unfinished transaction?
I appreciate for any help will come.
P.S. most likely i will use insert using a file or csv it could be a big chunk of data or just a small one.
|
|
|
|
|
|
Hi All,
I have two database servers, one Dev and another one Test, I made lots of changes on Dev hance I tried to restore the backup of Dev Database on Test Server with same name everything same. Now with the same Credentials Login and Password my web application is failing to access the database on Test, by saying failing to access the Database.
Can anybody please help me in getting out of this situation. All I did was, Dev and Test are two different physical servers, took backup of Dev and restored it on the test, now Login fails.
Any help a link code snippet or even a suggestion helps a lot. Thanks in advance.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
After restoring a database I run this script to drop and add the expected users. It assumes the users are already created on the new server. The underlying ID for the user name will be different on each server.
Declare @Usr varchar(50),
@SQL as varchar(5000)
Declare csrPV Cursor Fast_Forward For
Select name
From sysusers
Where issqluser = 1
and hasdbaccess = 1
AND name NOT IN ('dbo','IBMSQLDBA')
OPEN csrPV
FETCH NEXT FROM csrPV INTO @Usr
WHILE @@FETCH_STATUS = 0
BEGIN
Set @SQL = 'DROP USER [' + @Usr + ']'
Print @SQL
exec (@SQL)
Set @SQL = 'CREATE USER [' + @Usr + '] FOR LOGIN [' + @Usr + '] WITH DEFAULT_SCHEMA=[dbo]'
print @SQL
exec (@SQL)
Set @sql = 'ALTER LOGIN [' + @Usr + '] ENABLE'
exec (@SQL)
EXEC sp_addrolemember N'db_owner', @Usr
FETCH NEXT FROM csrPV INTO @Usr
END
CLOSE csrPV
DEALLOCATE csrPV
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Yes it did work thank you very much
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
i need a simple data warehouse for a Library
|
|
|
|
|
I'd recommend a database, not a data warehouse. Sql Server Express would be an obvious choice to get started.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Personal library?
What is the volume of data?
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
for a public but i need only simple example
|
|
|
|
|
|
|
I just finished reading a book on deductive databases, which outlined the basics about Datalog and deductive databases (Deductive Databases and their Applications by M. Colomb, if anybody is interested). Now I wish to actually try using this acquired knowledge, and so here is the question.
What program do you advise using for somebody looking to work with Datalog for the first time (prefferably available for free for educational purposes)? I have been looking into it and thus far haven't found any software with it's own GUI and a good guide for newbies. (Most of them such as IRIS seem to be Java plugins, and I don't know how to make it work).
Have a good one.
modified 14-Jan-16 6:44am.
|
|
|
|
|
What does the book suggest?
|
|
|
|
|
The book doesn't seem to suggest much of anything in terms of actual software to work with. It seems to be mostly about explaining Datalog on theoretical level (how the horn clause works within a database set-at-a-time environment and other concepts about it's inner workings) rather than outlining how to work with it on a specific platform.
Truth be told, as I am searching around, it seems there are no real Datalog focused platforms, just interpreters invoked as coding language libraries (for example IRIS for Java). The thing is, I have no idea how to make IRIS and it's libraries work. :/ Guess I will have to experiment around...
|
|
|
|
|