Bug #67066

Important Actions -> Clear all caches fails with DBAL

Added by Morton Jonuschat 3 months ago. Updated 2 months ago.

Status:Resolved Start date:2015-05-20
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Install Tool Spent time: -
Target version:-
TYPO3 Version:7 Is Regression:No
PHP Version:5.6 Sprint Focus:
Complexity:

Description

Clearing all cache from the Install Tool fails on master. Installation is configured with DBAL and PostgreSQL 9.4.
After a while this error gets shown:

mysqli::real_connect(): MySQL server has gone away in /Users/mjonuschat/Documents/Development/TYPO3/Sites/postgresql/typo3_src-master/typo3/sysext/dbal/Classes/Database/DatabaseConnection.php line 3041

Somewhere in the install tool the wrong driver gets selected. Compare Database and other DB related stuff works, not a generic configuration problem.


Related issues

related to Core - Epic #64459: Make TYPO3 run on PostgreSQL New 2015-01-23

Associated revisions

Revision e3fbdadd
Added by Morton Jonuschat 2 months ago

[BUGFIX] Initialize database connection in ClearCacheService

Without calling initialize() on the DatabaseConnection object
the DBAL the resulting connection configuration will default
to the "native" driver type (MySQL) which results in an error
as there is no MySQL server to contact with the given connection
parameters.

Resolves: #67066
Releases: master, 6.2
Change-Id: Id5d70a122dcca806ee1122cecacad0c8aef27547
Reviewed-on: http://review.typo3.org/39636
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Christian Kuhn <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

Revision bef83c86
Added by Morton Jonuschat 2 months ago

[BUGFIX] Initialize database connection in ClearCacheService

Without calling initialize() on the DatabaseConnection object
the DBAL the resulting connection configuration will default
to the "native" driver type (MySQL) which results in an error
as there is no MySQL server to contact with the given connection
parameters.

Resolves: #67066
Releases: master, 6.2
Change-Id: Id5d70a122dcca806ee1122cecacad0c8aef27547
Reviewed-on: http://review.typo3.org/39950
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39636

#2 Updated by Gerrit Code Review 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39636

#3 Updated by Gerrit Code Review 2 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39636

#4 Updated by Morton Jonuschat 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Gerrit Code Review 2 months ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39950

#6 Updated by Morton Jonuschat 2 months ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF