Jump to content

extracting large image from mysql


aboallam

Recommended Posts

Another reason to not store files in a database  :o

 

Databases are for storing data that you need to manipulate, sort, compare... Databases are not file storage engines (but file systems are) and in fact, since databases are stored in files in the file system, storing a file in a database is just putting one file inside of another. This just adds overhead and slows everything down.

Link to comment
Share on other sites

iam sorry for that but that is what happend with me .

now i can store large image in mysql database such as 7MB image ,but when i try to extract it, it dont appeare to me but small image appeare

and i changed the max_allowed_packet to 32m in my.ini file and open mysql command line client, and write

show variableslike 'max%'; it show me that max_allowed_packet =33553408

and i search in net about this problem but i did not found any thing please any one help me as fast as possible

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.