Can we save images in mysql database?



Can we save images in mysql database?..

Answer / Om Paul

Yes, images can be stored in a MySQL database using BLOB (Binary Large OBject) or TINYBLOB data types. However, like videos, it's not recommended due to performance and storage efficiency issues for large images. A better approach would be to store image file paths in the database and the actual files on a dedicated server.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

How is oracle different from mysql?

1 Answers  


What is mysql data directory? How to determine the location of the data directory?

1 Answers  


Why do we use group by and order by function in mysql?

1 Answers  


How to use sum function in where clause in mysql?

1 Answers  


What is an index? How can an index be declared in mysql?

1 Answers  


How to update database permissions/privilages.

1 Answers  


What is row level locking in access?

1 Answers  


What do you need to connect php to mysql?

1 Answers  


Is mysql a dbms?

1 Answers  


What are programming functions?

1 Answers  


How do I run mysql on a mac?

1 Answers  


How do I install mysql workbench?

1 Answers  


Categories