Skip to content

Socket connection failed in PmaModule.php #22

@YolfTypo3

Description

@YolfTypo3

Thank you for this extension. Connection to databases using unix_socket fails.
The test for connection is on $GLOBALS['TYPO3_CONF_VARS']['DB']['socket'] but it should be on $dbData['unix_socket'] , i.e. $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['unix_socket'].

        // If a socket connection is configured, use this for mysqli
        if (isset($dbData['unix_socket'])) {
            $_SESSION['PMA_typo3_socket'] = $dbData['unix_socket'];
        } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions