Closed ryzom-pipeline closed 9 years ago
Original comment by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).
Then your config.php is wrong.
Your $cfg['db']['ring']['name'] somehow got changed.
This is only valid when domain role is selected.
Original comment by Matthew Lagoe (Bitbucket: botanic, GitHub: botanic).
Original comment by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).
No.
The installer only throws in bogus value for web service roles you haven't selected, and besides, the value you have is not even the default value. The default value here is ring_mini01.
The value thrown in by the upgrade does not matter because the domain role did not exist before said upgrade version.
The error you're getting can only happen if you manually created the role_domain file, or if there was an invalid installed version in your config.php.
Issue is non-existent on a clean install or upgrade path.
Original comment by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).
The bug that caused bad version in config.php is already fixed.
Original report by Matthew Lagoe (Bitbucket: botanic, GitHub: botanic).
Latest code upgrade throws
( ! ) Warning: mysqli_connect(): (HY000/1049): Unknown database 'mini01' in C:\development\ryzom\code\web\public_php\setup\database.php on line 45 Call Stack
Time Memory Function Location
1 0.0000 285176 {main}( ) ..\upgrade.php:0 2 0.0070 363296 upgrade_domain_databases( ) ..\upgrade.php:47 3 0.0070 363424 connect_database( ) ..\database.php:128 4 0.0070 363520 mysqli_connect ( ) ..\database.php:45 Failed to connect to the ring SQL server: Unknown database 'mini01'