mysqli - Connect TYPO3 to MySQL using SSL -


Is it possible to connect TYPO3 CMS to MySQL on SSL? I received this feature request 7 years ago, but it seems that this feature was not implemented.

Secure database connection to support (such as MySQL on SSL)

this The time is not possible with the standard core of TYPO3 to connect from SEL to another server.

There is no extension in TER too.

But it is possible to create a custom extension. connect_db () method

    • expand
    • > one for SSL login data Create config file
    • Get them in your extensions somehow
    • Use Extended Classes by creating a ext_localconf.php to TYPO3 Extensions with this content Folder:
    •   $ global ['TYPO3_CONF_VARS'] ['SYS'] ['object'] ['TYPO3 \\ CMS \ \ Core \\ database \\ database connection '] = array (' classname '= & gt;' vendermam \\ Your ExtensName \\ Database \\ Database Connection ');  

      Edit: Updated reply to fit SSL


  • Comments

    Popular posts from this blog

    scala - Play Framework - how to bind form to a session field -

    c++ - Why does Visual Studio Release build break on non-executing code line -

    Firefox reacting to JQuery setTimeout that doesn't apply -