Error when using non default database name for ISPC
On Debian 11 there is error when adding multiple PHP versions to database - when database name field is not default. Installer in interactive mode asks:
MySQL database to create [dbispconfig]: somedifferentname
Result:
ERROR 1146 (42S02) at line 1: Table 'dbispconfig.server_php' doesn't exist
[ERROR] Exception occured: ISPConfigOSException -> Command mysql --defaults-file=/etc/mysql/debian.cnf -e 'INSERT IGNORE INTO
dbispconfig.server_php(sys_userid,sys_groupid,sys_perm_user,sys_perm_group,sys_perm_other,server_id,client_id,name,php_fastcgi_binary,php_fastcgi_ini_dir,php_fpm_init_script,php_fpm_ini_dir,php_fpm_pool_dir,active) VALUES (1, 1, '''riud''', '''riud''', '''''', 1, 0, '''PHP 5.6''', '''/usr/bin/php-cgi5.6''', '''/etc/php/5.6/cgi''', '''/etc/init.d/php5.6-fpm''', '''/etc/php/5.6/fpm''', '''/etc/php/5.6/fpm/pool.d''', '''y''')' failed. (/ispconfig.ai.php:15)