Create, Write, Read, Delete File from MySQL Server(C programming)

Pubblicato il: 27 marzo 2016
sul canale di: CodeVlog
11,987
74

This video shows how to create , write , read and delete file from MySQL Server using C programming. It works only on vps and dedicated server

Packages Reguired:
sudo apt-get install libmysqlclient-dev
sudo apt-get install zlib1g-dev

Command to generate Shared Library:
gcc -shared -o filehandle.so main.o


mysql command to fetch plugin path and folder path where you can create file:
SHOW VARIABLES LIKE 'plugin_dir'
SHOW VARIABLES LIKE 'secure_file_priv'

MySQL Function to call plugin

drop FUNCTION FileHandle;

CREATE FUNCTION FileHandle
RETURNS STRING
SONAME "filehandle.so";

select FileHandle ('1','<folder path from mysql config file>/CodeVlog.txt','none');


In questa pagina del sito puoi guardare il video online Create, Write, Read, Delete File from MySQL Server(C programming) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeVlog 27 marzo 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 11,987 volte e gli è piaciuto 74 spettatori. Buona visione!