Я пытаюсь установить Akeneo PIM в соответствии с инструкциями по установке на этой странице. Установка Akeneo PIM Community Edition (CE) с архивом
Когда я запускаю следующую команду:
bin/console pim:install --force --symlink --clean --env=prod
Я получаю ошибку:
Database does not exist yet
06:21:53 ERROR [console] Error thrown while running command "doctrine:database:create --no-debug=1 --env=prod". Message: "An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory" ["exception" => Doctrine\DBAL\Exception\ConnectionException { …},"command" => "doctrine:database:create --no-debug=1 --env=prod","message" => "An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory"]
In AbstractMySQLDriver.php line 112:
An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
ectory
In PDOConnection.php line 50:
SQLSTATE[HY000] [2002] No such file or directory
In PDOConnection.php line 46:
SQLSTATE[HY000] [2002] No such file or directory
doctrine:database:create [--shard SHARD] [--connection [CONNECTION]] [--if-not-exists] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
The command terminated with an error code: 1.
In CommandExecutor.php line 66:
The command terminated with an error code: 1.
doctrine:database:create [--shard SHARD] [--connection [CONNECTION]] [--if-not-exists] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
Затем я создал базу данных в MySQL. И добавил информацию о соединении с базой данных в файл ~/pim-community-standard/app/config/parameters.yml.dist
.
~ / ПИМ-сообщество стандарт / приложение / Config / parameters.yml.dist:
parameters:
database_driver: pdo_mysql
database_host: 127.0.0.1
database_port: null
database_name: akeneo_pim
database_user: root
database_password: root
Но я все еще получаю ту же ошибку.
Я думаю, что отсутствует конфигурация. Но я не могу найти.