-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
Description
Testing the MySQL connection via new PDO() or mysqli_connect() would make the config create command more portable. At the moment, the connection test requires support for a proc_open function and a shell mysql client. Both are problematic in the context of WebAssembly WordPress Playground.
config-command/src/Config_Command.php
Lines 164 to 166 in 965be26
| if ( ! Utils\get_flag_value( $assoc_args, 'skip-check' ) ) { | |
| Utils\run_mysql_command( '/usr/bin/env mysql --no-defaults', $mysql_db_connection_args ); | |
| } |