A database error has occurred: SQLSTATE[HY000] [1049] Unknown database

I am installing ojs3.3.0, and my mysql port is 3306. config.inc.php port = 3306 has been forced to open.

But I still failed to create the database

Hi @272741632,

Please check two things: can your database user connect to your database? Is your database empty? If the answer to both questions is yes, try creating a new database/user and try again; if you can connect but it is not empty, drop all tables and try the installation once again.

Best regards,