Most voted "longblob" questions
9 questions
Sort by count of
-
1
votes0
answers215
viewsMysql Longblob only accepts file up to 128mb
Create a table to store files, but all the life I send a file above 128mb all the columns are null except the id. I also realized that it saves only pictures, other type of file it doesn’t want to…
-
1
votes1
answer1232
viewsDisplay image stored in Database
I’m creating a digital menu that contains pictures of the dishes. I stored the photo in the Mysql BD using the following code: HTML code <form enctype="multipart/form-data" method="post"…
-
1
votes1
answer283
viewsRegister and display image in PHP database
Hello, I would like to know how I can register an image in the database and how do I display - there I searched on the internet and saw that the field in the bank has to be as longblob or has to be…
-
0
votes1
answer790
viewsinserting image in mysql database
If I want to insert an image in the database just use the following query: INSERT INTO teste (Id_Blob,Na_Imagem) VALUES (1,LOAD_FILE("C://imagem.png")); if I want to insert an image that be on…
-
0
votes2
answers750
viewsRead a BLOB corresponding to an image
The following code uses the Mysqldatareader to obtain a database-specific record: string cmd = string.Format("Select * from socios.socio WHERE idSocio={0}", chave); MySqlCommand comandoMySQL = new…
-
0
votes1
answer465
views -
0
votes0
answers345
viewsHow to save picture blob with multer in nodejs
Well I have this table: And I have this code that I get an image by the woman in the nodejs: routes.post('/salvarImagem', upload.single('Img') , (req, res) => { const connection =…
-
-1
votes1
answer1691
viewsConvert LONG column to VARCHAR2 in ORACLE - problem related to LONG column value size relative to VARCHAR2
CREATE OR REPLACE FUNCTION PRC_HAM_CONVT_LONG_VARCHAR2 ( p_owner VARCHAR2, p_tabela VARCHAR2, p_coluna VARCHAR2, p_rowid UROWID )RETURN VARCHAR2 IS v_cursor INTEGER; --cursor v_length INTEGER;…
-
-1
votes1
answer89
viewsProblem insert into Mariadb database images
I am using Mariadb and a LONGBLOB field to store my images, when I have insert small images (300KB or less) normally inserts, however larger images that this gives this error here: Mariadb [-1]…