How to setup MediaWiki on local machine - not working

The OpenLink MediaWiki 1.18.4 package offering is old, from about 10 years ago, and has not been maintained in recent years, nor tested with the latest Virtuoso releases, thus would not be recommended for use, especially given the latest MediaWIki release is 1.37.x.

In relation to your specific issues:

  1. You need to the SQL port (not the HTTP port) the Virtuoso server is listening at, which is 1111 by default, or whatever port you might have set it to in the virtuoso.ini configuration file.

  2. tmp/mediawiki_fs.vad is the location to which it is assumed you have downloaded the OpenLink MediaWiki VAD package for installation. You can download this archive now, from https://shop.openlinksw.com/license_generator/vad/, and then add the filesystem location to which you download it (i.e., the directory now holding the mediawiki_fs.vad file) to the DirsAllowed param in the virtuoso.ini configuration file, so the Virtuoso server will allow the installation. Then, specify the actual location of the mediawiki_fs.vad in the DB.DBA.VAD_INSTALL() call, for instance —

    DB.DBA.VAD_INSTALL(‘/users/your-username/downloads/mediawiki_fs.vad’,0);