I said change the database name since I’m changing it from the default entry in **-config-sample.php to the same database name as on my wp-config.php 
I found the error — basically I had copy-pasted the whole database name line, quite unthinkingly; hence the constant was also renamed. Fixed now