In Mysql, longblob is not storing more than 200kb
Posted by varunkumargoel (varunkumargoel), 20 September 2007Hi All,
I am using ruby on rails as front end and Mysql as back end and now i wanna upload file more then 1MB and in mysql i used longblob for storing the files.
But it's taking only 200 KB if i will upload more then this it is not adding this file into database.
Please help me and tell it's Mysql Error or ROR ?//
If you have solution please tell me soon??
Waiting for ur reply.Thanks in advance.........................
Varun Kumar Goel
Posted by admin (Graham Ellis), 20 September 2007Check to see what happens if you upload an image and save it in a file rather than in a database. If the file you get is just 200k, the you have a RoR issue, but if it's full size then the issue is a database one. Personal guess - it'll be your RoR or web server upload limits.
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: firstname.lastname@example.org • WEB: http://www.wellho.net • SKYPE: wellho