storing mp3 files in mysql databaseI want to upload my mp3 file in mysql database.Plz suggest me for datatype of mp3 file and database structure.
Don't keep mp3 files in databes, in db store only path to this files. Mp3 files store in folder on server.
mp3 or otherwise large files with proprietary encoding should not be stored in a database. You should store a path to that file instead. The reason is simple. When storing large data in a database, you are actually adding an additional layer of processing when retrieving it. This slows things down if you think of 100 or more users accessing your website at the same time.