r/SQL • u/Gaspucci22 • Sep 19 '26
SQL Server How to convert from microsoft sql to mysql?
/r/Database/comments/1wklhpr/how_to_convert_from_microsoft_sql_to_mysql/
0
Upvotes
r/SQL • u/Gaspucci22 • Sep 19 '26
2
u/Gaspucci22 Sep 19 '26
Solved it- i followed this tutorial for the solution (https://youtu.be/VthWurnJ3Hk) and it worked like a charm but i had a deeper problem, which was that didn't even have a mysql80 connection and xampp was acting up not wanting to start up mysql in the control panel, which i solved by stopping the service, clearing the port of it, had some redundant master and relay files in xampp/data folder which i moved in a backup folder and it works now, took me like hour and a half.
I was doing this for my academic final exam. Its a web application for records of work engagement of employees
6
u/Thadrea Data Science Manager Sep 19 '26
What is this "database" that you created for what sounds like a college class? What is the context here?
Converting a database from one RDBMS to another ranges from "a leisurely afternoon" to "better hire a consulting company" depending on its size and complexity.
1
u/CaptainOttar Sep 21 '26
your prof probably just wants a standard
.sqlfile they can easily run on their machine. Microsoft's SQL (T-SQL) and MySQL speak slightly different dialects, you can't just copy-paste the files.use DBeaver to connect to your MS SQL and export the data as plain SQL inserts.
0
u/BarelyAirborne Sep 19 '26
Are there stored procedures and/or triggers, or is it strictly for persistence? If you just need the data, there's a number of ways to trundle it over. Excel, Access, Claude, and many others.
-4
u/The_Orracle Sep 19 '26
fastest honestly just use ChatGPT. If you know both syntax, just write it but is a prefect application for AI.
0
u/[deleted] Sep 19 '26
[deleted] — view deleted comment