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

[3.0]: Installer does not provide minimum database version upon failure due to unsupported version. #8241

Open
tyrsson opened this issue Jun 4, 2024 · 2 comments

Comments

@tyrsson
Copy link
Collaborator

tyrsson commented Jun 4, 2024

Basic Information

On running install.php against mysql 8.0.31 The installer does not provide any feedback as to what the minimum version should be.

Steps to reproduce

  1. Start a new install with any MySQL version < 8.0.35

Expected result

That the UI would provide the minimum required version.

Actual result

Just provides a notice to upgrade.

Version/Git revision

51a1e38

Database Engine

MySQL

Database Version

8.0.31

PHP Version

No response

Logs

No response

Additional Information

No response

@DiegoAndresCortes
Copy link
Contributor

Odd, I did get the error message.

SMF/other/install.php

Lines 933 to 939 in 51a1e38

// Do they meet the install requirements?
// @todo Old client, new server?
if (version_compare($databases[Config::$db_type]['version'], preg_replace('~^\D*|\-.+?$~', '', $databases[Config::$db_type]['version_check']())) > 0) {
$incontext['error'] = Lang::getTxt('error_db_too_low', $databases[Config::$db_type]);
return false;
}

@tyrsson
Copy link
Collaborator Author

tyrsson commented Jun 6, 2024

I got the error. It just does not tell you what the minimum required version is. It should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants