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

preview_player
Показать описание
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:

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

Рекомендации по теме
Комментарии
Автор

its look like read file more than reading database

jarisipilainen