Change replace_result by using $MYSQLD_DATADIR. Tested in both embedded mode and normal server mode.
Attach a file by drag & drop or click to upload