Skip to content

Error while sending QUERY packet. Magento 2 (2.1.5) #9021

Closed
@VisheshDev

Description

@VisheshDev

I'm trying to install the Magento 2 (2.1.5) on web server with CLI. but its is giving error

[Exception] Warning: Error while sending QUERY packet. PID=34 in vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 228

I searched for the solution and all the solution is that increase the

max_allowed_packet

First max_allowed_packet was 33MB but now i increased it to 512MB. But it's still giving me same error with different PID.

CLI commands used to install Magento is

magento setup:install --base-url=http://www.example.com \
 --db-host=localhost --db-name=db_name --db-user=db_admin --db-password=db_admin_password \
--admin-firstname=User  --admin-lastname=Magento --admin-email=admin@demo.com \
 --admin-user=admin_site --admin-password=admin_password --language=en_US \
--currency=INR --timezone=Asia/Kolkata --cleanup-database \
--session-save=db  --use-rewrites=1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions