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

Socket connection failed in PmaModule.php #22

Open
YolfTypo3 opened this issue Nov 25, 2017 · 0 comments
Open

Socket connection failed in PmaModule.php #22

YolfTypo3 opened this issue Nov 25, 2017 · 0 comments

Comments

@YolfTypo3
Copy link

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'];
        } 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant