mostafatalebi Posted November 19, 2012 Share Posted November 19, 2012 Hello everybody I have heard that storing images in MYSQL is not a good job. Is it a true story? If yes then what should be done with user's avators and uploads. ?? Thanks Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted November 19, 2012 Share Posted November 19, 2012 (edited) In my opinion, a database is for data, and the filesystem is for files. Store the image file in the filesystem, and the path to it in the database. Edited November 19, 2012 by Pikachu2000 Quote Link to comment Share on other sites More sharing options...
mostafatalebi Posted November 20, 2012 Author Share Posted November 20, 2012 nice opinion Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.