Based on the work of @mikran I refactored the code even more to support more use cases:
Supports now installation from configuration if the setttings.php is correct. phab will try to detect if CIM is setup correctly. Fresh
installs (e.g. from newly scaffolded projects, see #45 ) should also install without errors. Smaller changes to mysql-db-creation as mysql does not support setting the pw for existing users. Better error reporting and hopefully cleaner code.
Based on the work of @mikran I refactored the code even more to support more use cases:
Supports now installation from configuration if the setttings.php is correct. phab will try to detect if CIM is setup correctly. Fresh installs (e.g. from newly scaffolded projects, see #45 ) should also install without errors. Smaller changes to mysql-db-creation as mysql does not support setting the pw for existing users. Better error reporting and hopefully cleaner code.
Can you review the code and do some tests?