Skip to content

DB connection issue when trying to setup Ruckusing Migrations - Abstract.php No Such File Or Directory #155

@crmpicco

Description

@crmpicco

I am trying to setup a ZF1 application on my local machine using MAMP. I am attempting to run the Ruckusing Database migrations, however it appears that I cannot connect to my DB.

This is the command I am running and the error I get.

crmpicco-MacBook:confirmation crmpicco$ php vendor/ruckusing/ruckusing-migrations/ruckus.php db:migrate ENV=development

Array
(
    [directory] => webapp
    [type] => mysql
    [host] => localhost
    [port] => 3306
    [database] => crmpicco_confirmation
    [user] => root
    [password] => root
    [socket] => /Applications/MAMP/tmp/mysql/mysql.sock
    [charset] => utf8
)

Abstract.php(144) : SQLSTATE[HY000] [2002] No such file or directory

Where should I look to resolve this issue?

phpinfo reads as follows:

PDO
PDO support enabled

PDO drivers
sqlite, pgsql, mysql pdo_mysql

PDO Driver for MySQL enabled
Client API version 5.5.38
Directive Local Value Master Value
pdo_mysql.default_socket /Applications/MAMP/tmp/mysql/mysql.sock /Applications/MAMP/tmp/mysql/mysql.sock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions