07 How to Migrate SQL Server database to MySQL

  Рет қаралды 35,892

Learn SSIS

Learn SSIS

Күн бұрын

Пікірлер: 87
@jogioktavianus6992
@jogioktavianus6992 2 жыл бұрын
Thank you sir, Cause of this video i solve my problem's from company. Big thanks
@learnssis
@learnssis 2 жыл бұрын
Glad to know Jogi that it helped you.
@pratikpandit-c1r
@pratikpandit-c1r 2 ай бұрын
Hi, Sir @Learn SSIS. I am getting the below error while migrating from MS SQL to MY SQL. Please provide a solution for the below query. Determine the number of rows to copy: Error getting row count from source tables, wbcopytables exited with code 1 Failed
@greatcars2133
@greatcars2133 Жыл бұрын
This is just perfect! Well detailed explanation. Much appreciated!
@learnssis
@learnssis Жыл бұрын
Thank you so much Great Cars.
@anaranjo025
@anaranjo025 7 ай бұрын
During Source Selection, I input my username and password credentials, but by the time I get to Schemas Selection, all tables are empty. When I leave sa as the username in Source Selection, I am asked for a password, but I don't know what password to put. Anyone have any idea what I need to do here to be able to see the tables during Schemas Selection?
@swapnilvmestry
@swapnilvmestry 2 жыл бұрын
Superb Do we have any options to connect from ms sql to my sql and read data from particular table ? Both the databases are on the different network servers.
@learnssis
@learnssis 2 жыл бұрын
I don't know if can connect from one server to another one using SQL Server to MySQL if they are on different networks. If they are on the same network then I think we can create a linked server and then can connect from SQL Server to MySQL.
@broncasrafa
@broncasrafa Ай бұрын
Sir, thank you so much, worked perfectly!!! Gained a follower
@learnssis
@learnssis Ай бұрын
Thank you Sir.
@enescivelek3369
@enescivelek3369 6 ай бұрын
How can we implement this process for phpmyadmin? I wrote different methods and even my own algorithm, but I have a problem with Turkish characters and cannot fully transfer my data.
@learnssis
@learnssis 6 ай бұрын
Hi Enes, unfortunately I don't have much experience with data migration using phpmyadmin. Majority of the time I have worked migrating the data using SSIS.
@MrMneneZhalko
@MrMneneZhalko Жыл бұрын
What if I use localdb instead of Microsoft SQL Server and I get an error SQL Server: 17?
@learnssis
@learnssis Жыл бұрын
I have not used this method extensively for migration. Thus not sure about this error message. I usually use SSIS to migrate the data from SQL Server to MySQL or vice versa. Sorry for that.
@lahiru776
@lahiru776 11 ай бұрын
Thank you for your great tutorial. I followed all the steps but my Schema Selection always returning empty. Do you know how to solve this?
@learnssis
@learnssis 11 ай бұрын
Hi Lahiru, I have not migrated a lot of databases from SQL Server to MySQL. I migrated just couple of them. Thus really not sure what issue might be here. Sorry for that.
@MrRvalentin
@MrRvalentin 4 ай бұрын
Thank you. Well explained and good teacher. Good karma to you !
@learnssis
@learnssis 4 ай бұрын
Thank you.
@blipur
@blipur Жыл бұрын
How about migrate database, if have million data in production, and database already use by system every time. Because live.
@learnssis
@learnssis Жыл бұрын
I would suggest using SSIS to migrate the data in that scenario. kzbin.info/www/bejne/n4SwZaeKpcmMnLs
@akshanshsahu5386
@akshanshsahu5386 Жыл бұрын
Hello Sir I have a 40 GB database of SQL server I want to restore the database in MySQL I am able to restore the database but the views are not restored and large size database is also not restored getting error of exceed limit so how i can do the full database resorted please help me out
@learnssis
@learnssis Жыл бұрын
Hi, you know both SQL Server and MySQL are different database management systems and backup from one system and restore to another system is not 100% accurate and compatible. For the things those are not migrated automatically, you would need to do them manually because some data types are not exactly same in sql server and mysql they are different, even the syntax of sql is different in both the systems. I think there are some paid softwares those says that they can do the migration but I have not used them thus not sure about them. If the data is not migrated then you can use SSIS to move the data for specific tables. I normally don't do database backup from sql server to mysql thus I don't have much knowledge on it.
@vardhan1856
@vardhan1856 Жыл бұрын
Hi, Thanks for sharing this. When I am migrating from SQL server db which contains) to MySQL got migrated not and in migration summary it is showed like all objects migrated but i didn't get when i did check in mysql, how to get all those objects which are in SQL server db. Please let me know some automatic process instead of manual effort. Thanks in advance
@learnssis
@learnssis Жыл бұрын
SQL server and MySQL both use different languages and even some data types in both of them are different. The free method to migrate the database I already showed in this video which should migrate tables but if there are some stored procedures or functions in sql server those might not be converted automatically because there is some syntax difference as well in both the systems. There are many companies those have tools those does the migration using their tool but they charge for it. If you need the free solution then you can use this method and for migrating the stored procedure and other functions you might need to find some tool which can convert them from sql server language to Mysql server. I don't have much experience with the migration.
@Dante_Kasu
@Dante_Kasu 6 ай бұрын
Worked like a charm, cheers.
@learnssis
@learnssis 6 ай бұрын
Wow good to know that Dante.
@melaniemurday3138
@melaniemurday3138 Жыл бұрын
does it update both tables in real time? For example, if i add a row in a table in MySQL, will it appear in SQL Server? Please i need a reply
@learnssis
@learnssis Жыл бұрын
It is a one side migration. The row that you will add to MySQL it won't appear in SQL Server.
@melaniemurday3138
@melaniemurday3138 Жыл бұрын
Thanks for your reply. Is it possible to update both tables at the same time tho?
@learnssis
@learnssis Жыл бұрын
@@melaniemurday3138 using SSIS you can update both tables at the same time.
@melaniemurday3138
@melaniemurday3138 Жыл бұрын
@@learnssis do you have a video whereby you explain how to do this pls?
@learnssis
@learnssis Жыл бұрын
@@melaniemurday3138 If you want to update 2 tables at the same time then use 2 execute sql task and do not connect them with each other this way they both will execute at the same time, now you can put the update queries in them and point to appropriate connection. This way when package will run they will be executed at the same time.
@Tufail999
@Tufail999 Жыл бұрын
Hi, tables has been migrate but data is not it's showing null in MySQL Can u please tell me what to do?
@learnssis
@learnssis Жыл бұрын
Did you get any errors ? Can you check the data between SQL and MySQL for a table ?
@Tufail999
@Tufail999 Жыл бұрын
@@learnssis Yes errors has come. But I follow proper step of the video didn't skip anything.
@learnssis
@learnssis Жыл бұрын
@@Tufail999 the errors might be due to data type not converted automatically between SQL and MySQL.
@Tufail999
@Tufail999 Жыл бұрын
@@learnssis ok i will check it thanks for helping
Жыл бұрын
Thanks a lot my friend. Greetings from Turkey !
@learnssis
@learnssis Жыл бұрын
You are most welcome my friend Omer Faruk.
@gerryc349
@gerryc349 3 ай бұрын
Spot on sir! Thank you!
@learnssis
@learnssis 3 ай бұрын
Thank you.
@sivakumarbk2291
@sivakumarbk2291 2 жыл бұрын
Can we convert SQL DB hosted in Azure Services to MYSQL Azure Service.
@learnssis
@learnssis 2 жыл бұрын
Sorry I don't have any idea about this.
@successpradhan13
@successpradhan13 Жыл бұрын
How to import my sql data file into SQL Server Datbase?
@henrinoguem888
@henrinoguem888 7 ай бұрын
Hi Sir i see you tutorial, it is very good. can you do the same thing with a Database so there are some Tables that have Indexes? Thank
@learnssis
@learnssis 7 ай бұрын
Hi Henri, did you tried migrating a database with tables having indexes ? Are you getting issues with that ? I normally don't migrate the databases much. So far I have only migrated couple of databases from sql server to mysql. As they are different database management systems, thus there might be some limitations in migration.
@macgaikwad
@macgaikwad 2 жыл бұрын
Thanks sir, I used same procedure but in source database tables I used nvarchar(max) so migration wizard takes it as varchar(0), and when migrating data it gives error saying to long string. Instead it must replace to longtext, How to solve this error
@learnssis
@learnssis 2 жыл бұрын
Sorry I have not much used this wizard for migration, just used it couple of times, thus not sure about this error. If you have any question related to SSIS then you can let me know.
@SachalChandio
@SachalChandio Жыл бұрын
Life Saver.
@learnssis
@learnssis Жыл бұрын
Thank you Sachal.
@pathakabhi11
@pathakabhi11 6 ай бұрын
Thanks If i need to add comun in new database and operation and fill new column with new data For ex name column to firstname and lastname in new database and fill splite on space both new column
@learnssis
@learnssis 6 ай бұрын
I think you can do that using sql queries. You can take help from chatgpt, it can give the queries to you to add the new column. Just give it the table name and the column name that you want to create. And then ask it to write the update query for you which will split the full name to first name and last name and will update the data to sql table. it can give all those queries to you, if you get any error then copy and paste the error back to it and it can give you the corrected queries.
@pradnyakasar614
@pradnyakasar614 2 жыл бұрын
If there is quantity is more then how to migrate that?
@learnssis
@learnssis 2 жыл бұрын
You can use SSIS to migrate huge data from SQL Server to MySQL.
@TaskinDemirel
@TaskinDemirel 7 ай бұрын
Great work!
@learnssis
@learnssis 7 ай бұрын
Thank you.
@singamsubbarao4389
@singamsubbarao4389 Жыл бұрын
I had migrated the same way but it skipped lot of tables then finally I found that those tables data types are not supported in mysql
@learnssis
@learnssis Жыл бұрын
Oh.
@sameershaikh-fn3uc
@sameershaikh-fn3uc Жыл бұрын
how to skipped that tables
@mohammadmansour9390
@mohammadmansour9390 Жыл бұрын
Thank you in advance
@learnssis
@learnssis Жыл бұрын
Thank you Mohammad Mansoor.
@markdhelweb
@markdhelweb 3 ай бұрын
How to see view table? i have view table and data
@learnssis
@learnssis 3 ай бұрын
Do you have view in sql server ?
@phuan1101
@phuan1101 Жыл бұрын
Thanks
@learnssis
@learnssis Жыл бұрын
You are most welcome.
@shahroozolfatmehr2103
@shahroozolfatmehr2103 2 жыл бұрын
thank bro
@learnssis
@learnssis 2 жыл бұрын
You are most welcome Shahrooz.
@ebusiness7230
@ebusiness7230 Жыл бұрын
thx
@learnssis
@learnssis Жыл бұрын
You are most welcome.
@Rajesh-xf4cs
@Rajesh-xf4cs Жыл бұрын
hey nice tutorial but im getting a error can you please look Starting... Prepare information for data copy... Prepare information for data copy done Determine number of rows to copy.... Counting number of rows in tables... wbcopytables.exe --count-only --passwords-from-stdin --odbc-source="DSN=grants_sql;DATABASE=;UID=sa" --source-rdbms-type=Mssql --source-timeout= --target-timeout=None --table-file=C:\Users ajesh\AppData\Local\Temp\tmp70m6_nrg --table [Grants] [dbo].[sysdiagrams] 19:38:51 [INF][ copytable]: --table [Grants] [dbo].[TBL_WORKFLOW_STATUS_MASTER] 19:38:51 [INF][ copytable]: Opening ODBC connection to [Mssql] 'DSN=grants_sql;DATABASE=;UID=sa;PWD=XXX' 19:38:59 [ERR][ copytable]: ODBC connection to 'DSN=grants_sql;DATABASE=;UID=sa;PWD=' failed 19:38:59 [ERR][ copytable]: Exception: SQLDriverConnect: IM008:10:[Microsoft][ODBC SQL Server Driver]Dialog failed Loading table information from file C:\Users ajesh\AppData\Local\Temp\tmp70m6_nrg ERROR: Determine number of rows to copy: Error getting row count from source tables, wbcopytables exited with code 1 Failed like this can you help me with it thank you
@Jinay.Kothari
@Jinay.Kothari Жыл бұрын
same error to me when doing bulk data transfer right
@bryanwilly4086
@bryanwilly4086 Жыл бұрын
same
@Jinay.Kothari
@Jinay.Kothari Жыл бұрын
@@bryanwilly4086 The only option is to make another database structure on phpmyadmin and convert the data to csv or other format so that it can be imported 😢😭
@kishoracle
@kishoracle Жыл бұрын
are you reading a book ?
@learnssis
@learnssis Жыл бұрын
ha ha. Actually I want to make the video shorter because people don't want long videos, that's why I remove the pauses from the video during editing. But yeah I think there should be some pauses as well.
@kishoracle
@kishoracle Жыл бұрын
Thank you. Sorry about the previous comment
@learnssis
@learnssis Жыл бұрын
@@kishoracleNo you are correct. I am trying to improve the new videos. Thank you.
@uzairafzal6002
@uzairafzal6002 2 жыл бұрын
How can I upload a 1GB SQL file on phpmyadmin. without splitting the file?
@learnssis
@learnssis 2 жыл бұрын
Sorry Uzair, I don't have any experience with phpmyadmin, never used it.
@uzairafzal6002
@uzairafzal6002 2 жыл бұрын
@@learnssis Can you just upload a video for migrating Sql database to Mysql
@learnssis
@learnssis 2 жыл бұрын
@@uzairafzal6002 I think this what we are doing in this video.
@uzairafzal6002
@uzairafzal6002 2 жыл бұрын
@@learnssis Can you kindly contact me through Google meet. I want your help
@ronron7763
@ronron7763 3 ай бұрын
awesome thanks
@learnssis
@learnssis 3 ай бұрын
Thank you.
@infotechsavvy4981
@infotechsavvy4981 Жыл бұрын
I have 3 errors, any fix guys on this? Traceback (most recent call last): File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\workbench\wizard_progress_page_widget.py", line 197, in thread_work self.func() File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\migration_object_migration.py", line 117, in task_migrate self.main.plan.migrate() File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\migration.py", line 510, in migrate self.migrationTarget.catalog = self.migrationSource.migration.migrateCatalog(self.state, self.migrationSource.catalog) SystemError: AttributeError("'NoneType' object has no attribute 'numericPrecision'"): error calling Python module function DbMssqlMigration.migrateCatalog ERROR: Migrate Selected Objects: AttributeError("'NoneType' object has no attribute 'numericPrecision'"): error calling Python module function DbMssqlMigration.migrateCatalog Failed
@learnssis
@learnssis Жыл бұрын
it looks like the migration is failing due so some data type mismatch, unfortunately I don't have much experience moving the whole data from SQL Server to MySQL. I would recommend to use the SSIS for data migration because there we can handle any kind of errors those might occur in the migration process. kzbin.info/www/bejne/n4SwZaeKpcmMnLs
SQL Server Data Migration
40:32
Tom Affholter
Рет қаралды 28 М.
How to Convert MS SQL Database to MySQL Database (Step by Step)
17:40
Kindson The Tech Pro
Рет қаралды 54 М.
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 14 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 31 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 127 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 41 МЛН
02 Migrate data from SQL Server to MySQL using SSIS
10:17
Learn SSIS
Рет қаралды 11 М.
The Easiest Way To Manage Database Migrations in .NET
11:40
Nick Chapsas
Рет қаралды 39 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
How to migrate data from HubSpot to SnowFlake using SSIS
16:21
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 14 МЛН