Open danielyinanc opened 6 years ago
hey @danielyinanc could you provide some more information around the issue or help you want?
Just updated description. https://github.com/devopsicon/design has more context... we are trying to use Files Microservice to use a database. Very interesting learning experience it will be for you IMHO.
Maybe we can talk about this more on Monday but I agree, this will be a great learning experience.
I’m wondering where to start. Do I just download the enterprise trial version from the MySQL website and then go from there?
Use community edition... https://dev.mysql.com/downloads/ Heroku comes with a free mysql database which we will use on staging and production but for development, this will do.
Below are some python code samples: https://dev.mysql.com/doc/connector-python/en/connector-python-examples.html https://github.com/mysql/mysql-connector-python/tree/master/examples
How to use python to store a file as blob using python: http://www.mysqltutorial.org/python-mysql-blob/
We are currently using file system to store files, we need to move to MySQL as per our design.
Using database for file/binary storage allows us to use Containerized deployment mechanisms such as Docker, Heroku, Cloud Foundry and/or Kubernetes/Bluemix effectively