I tried to create a databse in doctrune 3.4 with php bin/console doctrine:database:create
command but I get this error
`Failed loading /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731`/xdebug.so: /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/xdebug.so: cannot open shared object file: No such file or directory
In AbstractMySQLDriver.php line 103:
An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused
In PDOConnection.php line 47:
SQLSTATE[HY000] [2002] Connection refused
In PDOConnection.php line 43:
SQLSTATE[HY000] [2002] Connection refused
This is the setting on config.yml
doctrine:
dbal:
driver: pdo_mysql
host: '%database_host%'
port: '%database_port%'
dbname: '%database_name%'
user: '%database_user%'
password: '%database_password%'
charset: utf8mb4
default_table_options:
charset: utf8mb4
collate: utf8mb4_unicode_ci
I'm uging xampp MariaDb 10.1 version and the doctrine built-in server to develop