Errors occurred during installation A database error has occurred: could not find driver SQL

Describe the issue or problem
when installing,
i finishi filling the first page, then,
image

Steps I took leading up to the issue
For example:

  1. go the browser, filling the installation info.
  2. click on
    image
  3. error occured

What application are you using?
ojs-3.3.0-11
PHP 7.4.19 (cli) (built: May 4 2021 11:06:37) ( NTS )
Server version: Apache/2.4.37 (centos)
mysql Ver 8.0.26 for Linux on x86_64 (Source distribution)
Centos 8

Additional information
image

hello @yhangde

When you chose your database driver, did you choose “mysql” or “mysqli”?

Best
Jason

image

Hi @yhangde as the text above it says, if it’s in square brackets it isn’t installed. Use “mysqli” instead.

Thank you for your reply.

As I said at the beginning, my database platform and PHP platform are both installed, but this error still occurs.

At present, the problem has been solved.

The real reason is that a database extension was not installed correctly.Because I installed PHP before installing the database, a PHP extension related to the database was not installed.

The correct order of installation is to install my SQL database first, and then install PHP, so that the relevant PHP extensions will be configured correctly.