Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBAL-1214: MySQL has gone away using ImportCommand #1161

Closed
doctrinebot opened this issue Apr 29, 2015 · 2 comments
Closed

DBAL-1214: MySQL has gone away using ImportCommand #1161

doctrinebot opened this issue Apr 29, 2015 · 2 comments
Assignees
Labels

Comments

@doctrinebot
Copy link

Jira issue originally created by user sylvain:

Importing a fairly large SQL file (a MySQL dump) fails with a MySQL has gone away error.

When reading the ImportCommand code, I see that this issue is already "fixed" by checking if the connection is an instance of \Doctrine\DBAL\Driver\PDOConnection.

The problem is that I don't see how the connection could be an instance of this class since it doesn't extend \Doctrine\DBAL\Connection.

If I'm wrong, then I don't know how to configure my connection to extend the PDOConnection class. Thanks for your help on that :D

@morozov
Copy link
Member

morozov commented Dec 12, 2021

Irrelevant as of #3241.

@morozov morozov closed this as completed Dec 12, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants