Errors occurred during installation A database error has occurred: SQLSTATE[HY000] [1049] Unknown database 'ojs2'

I have a problem whit my instalation of ojs in local
I am working whit ojs-3.3.0-11
A database error has occurred: SQLSTATE[HY000] [1049] Unknown database ‘ojs2’ (SQL: create table announcement_types (type_id bigint not null auto_increment primary key, assoc_type smallint not null, assoc_id bigint not null) default character set utf8 collate ‘utf8_general_ci’)

image

Hi @AC1

Have you checked whether you are using the default/correct MySQL port?
Please, try to force the default port uncommenting the following line on your config.inc.php file:
port = 3306

Also, ensure that you have only one MySQL server running and it is using the port you have set on the parameter.

Best,
Israel

1 Like