Extracting a table create and insert statements with data from .SQL filesteemCreated with Sketch.

in mysql •  2 months ago 

#Introduction
Recently, we embarked on a migration project for an application built with CakePHP, which supported PHP 7.4. While the initial stages were smooth, we faced a challenge when we examined the database. It was using MySQL version 5.7, which is quite outdated. Therefore, we decided to also migrate the database. However, due to certain limitations imposed by the project team, we only received the database dumps without any additional context regarding the environments or other relevant information.

We set out to install a newer version of MySQL, specifically 8.0.x. Given that the database dump was quite large, over 116GB, we understood that we couldn't simply execute the import without careful consideration. As a result, we opted to plan our approach meticulously. Let's see how we can move forward from here.

##Full post her..

https://www.bithost.in/blog/tech-2/extracting-a-table-create-and-insert-statements-with-data-from-sql-file-75

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!