In uw BATCH-bestand:
mysql -e "set @domain=PARAMVALUE;source ./sql/update_domain.sql"
En in je SQL-bestand:
UPDATE my_cfg SET value = @domain WHERE name = 'DOMAIN';
In uw BATCH-bestand:
mysql -e "set @domain=PARAMVALUE;source ./sql/update_domain.sql"
En in je SQL-bestand:
UPDATE my_cfg SET value = @domain WHERE name = 'DOMAIN';