We live in a massively relational world, storing our data in relational databases, using SQL to find, create, update and delete data, and the thought of storing data was invariably in this paradigm. But the Internet has grown exponentially, different needs has come and relational databases began to not suit the needs of many projects that can not be thought of for years and remain as they are for so many years ahead. Then, new types of storage approach emerged and stirred relational supremacy. And with the life of developers. In this article I discuss a little my history and […]
After a long search, I did for myself a tool to migrate data to MongoDB. It’s a recurring need, a lot of people look for it: a developer decides to migrate a MySQL project to MongoDB . But how to do it? Actually it’s not so hard as it seems. Exports in CSV from MySQL and imports in MongoDB in the same way. But there is a big trap.
This quick tutorial shows how to install Apache + MySQL + MongoDB + PHP on Linux, with a little but very eficient tunning.
Comming from MySQL, programmers gets a little lazy about searching strings. MySQL does all the dirty job for you: search joao and find joao, joão, João, JOÃO and any other variants. But… when you start using MongoDB, even with his powerfull features, well, you get lost. Let’s find a solution.