Update Install.php

This commit is contained in:
wolfcode
2024-04-28 10:09:02 +08:00
parent ab7f63253e
commit b1c9e8d77e

View File

@@ -191,7 +191,7 @@ class Install extends BaseController
if (version_compare($_version, '5.7.0', '<')) {
$this->error('mysql版本最低要求 5.7.x');
}
} catch (\Throwable $e) {
} catch (\mysqli_sql_exception $e) {
$this->error($e->getMessage());
}
return true;