wav files are not getting uploaded into the BLOB


We have an application where we register some audio files which we want to be uploaded into the database.
We are running a database query to upload the file into the db, but however everything seams to be fine but we after we query the db for the results it always shows NULL.

the column where we want to store the wav file has MEDIUMBLOB type

Please provide any suggestion to be able to fix this issue.


do you commit the transaction?

I am not sure. How can I make sure that I commit the transaction?


As we are can read the sound file from php file read, can we put that content into database and will it put file into database.

Vikas Kumar