Open hitch90 opened 4 years ago
Hey,
are you able to run these commands from the command line (cmd.exe)?
mysql --version
mysqlcheck --version
mysql Ver 15.1 Distrib 10.5.2-MariaDB, for Win64 (AMD64), source revision f01e7a4741bdf6da419c8a9a0676978b35cb02b4
λ mysqlcheck --version
mysqlcheck Ver 2.7.4-MariaDB Distrib 10.5.2-MariaDB, for Win64 (AMD64)```
@hitch90 thanks for reporting the issue. Can you install and run WP instance outside Chisel?
yes
i have the same problem, some solved this? That kind of problem exist only when i want to use WP CLI.
@Fichtner21 thanks for the report. Could you try the new version to see if the problem persists https://github.com/xfiveco/generator-chisel/issues/465?
@Fichtner21 I had the same issue, it's caused by PHP config, not Chisel itself. You probably don't have mysqli
library enabled in your php.ini file. WordPress checks in db_connect method if mysqli
is enabled, if not it tries to use mysql_connect
function, but this function has been removed in PHP 7.0+ so you probably don't have a possibility to connect with your database.
I tried run
yo chisel
and after yarn install I had:I use the newest MariaDB