[MDEV-6338] Getting MySQL has gone away when importing a .sql file Created: 2014-06-12 Updated: 2014-06-20 Resolved: 2014-06-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.11 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Jorge F. Hernandez | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows Server 2008 R2 |
||
| Description |
|
I keep getting this error and I can't get a .sql file to be imported. I'm using Heidi SQL to do this. |
| Comments |
| Comment by Elena Stepanova [ 2014-06-12 ] | |||||
|
Try to increase max_allowed_packet value both on the server side and on the client side. | |||||
| Comment by Jorge F. Hernandez [ 2014-06-12 ] | |||||
|
I did, I changed my.ini in the data folder to 2048M but it still says:
| |||||
| Comment by Jorge F. Hernandez [ 2014-06-12 ] | |||||
|
Weird because I have another server configured exactly the same and the other one says:
| |||||
| Comment by Jorge F. Hernandez [ 2014-06-12 ] | |||||
|
I just uninstalled it, re-installed it, added max_allowed_packet line again and it worked. I wonder why it didn't work the first time. | |||||
| Comment by Elena Stepanova [ 2014-06-17 ] | |||||
|
Maybe there was another ini file or another section in the ini file that overrode your settings. |