[CWB] CRITICAL ERROR: $mysql_webuser has not been set in the configuration file.

Simon Meier-Vieracker simon.meier-vieracker at tu-dresden.de
Thu Mar 7 20:27:47 CET 2024


Dear all,

thanks again, I fixed the problem (I had to uncomment mysqli.allow_local_infile in the ./cli/php.ini as well – I might have thought of this earlier to be honest).

Best, Simon



> Am 07.03.2024 um 16:02 schrieb Simon Meier-Vieracker <simon.meier-vieracker at tu-dresden.de>:
> 
> Hi again,
> 
> I was able to fix parts of the problem by rewriting the fixed strings into the config.inc.php file.
> However, offline-freqlists.php still does not work without problems, now I get the following error:
> 
>> PHP Fatal error:  Uncaught mysqli_sql_exception: LOAD DATA LOCAL INFILE is forbidden, check related settings like mysqli.allow_local_infile|mysqli.local_infile_directory or PDO::MYSQL_ATTR_LOCAL_INFILE|PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY in /var/www/tu-dresden_gsw_ali/cqpweb/lib/sql-lib.php:211
>> Stack trace:
>> #0 /var/www/tu-dresden_gsw_ali/cqpweb/lib/sql-lib.php(211): mysqli_query()
>> #1 /var/www/tu-dresden_gsw_ali/cqpweb/lib/sql-lib.php(350): do_sql_query()
>> #2 /var/www/tu-dresden_gsw_ali/cqpweb/lib/freqtable-lib.php(682): do_sql_infile_query()
>> #3 /var/www/tu-dresden_gsw_ali/cqpweb/bin/offline-freqlists.php(133): make_cwb_freq_index()
>> #4 {main}
>>   thrown in /var/www/tu-dresden_gsw_ali/cqpweb/lib/sql-lib.php on line 211
> 
> In php.ini, the setting should be okay, see screenshot attached.
> 
> Suggestions welcome, thanks in advance!
> Best, Simon
> 
> <Bildschirmfoto 2024-03-07 um 15.54.01.png>
> 
>> 
> 
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
-------------- n�chster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname   : smime.p7s
Dateityp    : application/pkcs7-signature
Dateigr��e  : 5659 bytes
Beschreibung: nicht verf�gbar
URL         : <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240307/a3680fc7/attachment.p7s>


More information about the CWB mailing list