niota

fascinating. logical.

User Tools

Site Tools


niota-docs:niota_system_config_fileupload_2_blob

This is an old revision of the document!


important settings

navigate to your ini-file for mysql and activate the secure_file_priv option. set this config to the path within your install from where you want to load the BLOB into your niota mysql metadatabase.

secure_file_priv = C:/Apache24/htdocs/niota/tmp/upload
# set max allowed packet size to 64 MB
max_allowed_packet = 67108864

This settings tell mysql which folder is not privileged and from where is is allowed to load into meta db. Set also max_allowed_packet.

If you upload the BLOB into meta db using system API mdconfig_CatalogObjectBLOB take care that in the system settings in the admin pages there is also the same ''secure_file_priv“ configured with the same path. This second configuration is needed to concatenate the proper source path as you enter in this system API only the filename as parameter.

uploadfolder

niota-docs/niota_system_config_fileupload_2_blob.1648996755.txt.gz · Last modified: 2025/07/17 14:11 (external edit)