modmore / Gitify

Command line toolkit to make managing a MODX site in git a lot easier.
MIT License
122 stars 55 forks source link

MODX could not create your database. Please manually create your database and then try again. #450

Closed litosh-web closed 9 months ago

litosh-web commented 9 months ago

Summary

Can`t install MODx after downloaded it. Error after installation: "MODX could not create your database. Please manually create your database and then try again." I tried connecting with my database by PHPStorm and it work as well.

Step to reproduce

I don`t know. Only on your machine

Observed behavior

"MODX could not create your database. Please manually create your database and then try again."

Expected behavior

Should work as well.

Environment

Gitify 2.1.0-pl, MODX 2.8.5-pl, Windows 10, Maria DB 10.4, PHP 7.4

litosh-web commented 9 months ago

Exec input: php -d date.timezone=UTC W:/domains/test.ru/setup/index.php --installmode=new --config=W:/domains/test.ru/config.xml --core_path=W:/domains/test.ru/core/

Can't find config.xml by path. It's empty.

litosh-web commented 9 months ago

Solved! I forgot open required extensions in PHP for MODx.