Menu

Configuration file found, but unable to connect with MYSQL

2017-02-14
2019-02-22
  • william antle

    william antle - 2017-02-14

    Cannot complete the install, even with credentials for a recently created mysql user/database saved in the config.php file.

    Windows 10, with PHP711 & Mysql 57170 recently installed and tested.
    PHPServerMonitor 311

    Can anyone advise?

     
  • william antle

    william antle - 2017-02-15

    It appears this may be my issue:

    mysqlconnect — Open a connection to a MySQL Server
    Warning
    This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDOMySQL extension should be used.

    The following script works with no errors:

    If this is actually my issue, how can I fix the scripts?

     
  • Lawson Culver

    Lawson Culver - 2017-02-17

    From what I can tell from digging around in the scripts, the file it uses to connect (/src/psm/Service/Database.class.php) is using PDO... So I'm not sure why it would be using the old mySQL connection function.

     
  • aletato

    aletato - 2019-02-22

    You can also delete line 297 (/src/psm/Module/AbstractController.php) to remove the user menu
    --->

     

Log in to post a comment.

MongoDB Logo MongoDB