Support

Admin Tools

#36613 max_allowed_packet

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Thursday, 17 March 2022 20:17 CDT

joep

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

 

 

Hello,

while restoring a JPA in XAMPP I get this error:

Unable to connect to the Database: SESSION variable 'max_allowed_packet' is read-only. Use SET GLOBAL to assign the value

XAMPP is 4 days ago downloaded and installed

please help.

 

regards,

Joep Winters

 

 

 

nicholas
Akeeba Staff
Manager

I cannot reproduce this error but I have a good idea why it is happening and will fix for the next release.

Because it is in the restoration script which is embedded in the backup archive you will have to take a new backup with the new version. If you cannot do that or don't have the time to wait for about a week for a new release please let me know, I can tell you what to do in the meantime (it involves editing three files after the archive is extracted and before you start the database restoration).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

joep

Hello Nicholas,

thank you for the response. I have a temporary fix here, exporting database from live site and importing to XAMPP.

 

regards

Joep Winters

 

nicholas
Akeeba Staff
Manager

Thank you for the update!

Can you please tell me which database driver you had selected in ANGIE? Was it mysqli or PDO MySQL?

We do have error catching which should've dealt with this issue. So now I am wondering if we have hit an undocumented behavior change in the mysqli driver or a bug in the PDO MySQL driver.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

joep

hello Nicholas,

 

I selected mysgli , thus with the 'i'

 

regards,

Joep Winters

nicholas
Akeeba Staff
Manager

Thank you! This helps a lot.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!