[Bug 1.2.15] Setup failes: PASSWORD EXPIRES NEVER on MariaDB Remote DB Server

  • I received a couple of errors while installing/updating i-MSCP to version 1.2.14/1.2.15, for example:


    Code
    1. Servers::ftpd::proftpd::installer::_setupDatabase: Unable to create the proftpd@<IP>.0/255.255.255.0 SQL user: Error while executing statement: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'PASSWORD EXPIRE NEVER' at line 1

    I'm using a remote MariaDB SQL server.

  • @Starlight


    Which MariaDB version exactly?


    Those bugs are normally fixed in 1.2.x and the fixes will be part of 1.2.16 version which will be released soon.


    See also: https://github.com/i-MSCP/imsc…8bfe2b2f84c/CHANGELOG#L15

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin

    Shell-Script
    1. mysql --version
    2. mysql Ver 15.1 Distrib 10.0.23-MariaDB


    Debian standard.


    If fixed, I'm fine. I solved it manually with deleting the SQL string. I will report after installing 1.2.16 (when released).