Failed to connect database

I am getting this error below.
I have created another db a month ago and when I change it to that db, it does not come up any errors but when I change it to goharbour_db it throws out an error.
Warning : mysqli_connect(): (HY000/1049): Unknown database 'goharbour_db.db

mysqli_connect('localhost','root','','goharbour_db');

Your db is either not created/deleted or your db name probably has a typo.

No typo and its created.
image

fixed my own issue!!
Created db with latin1_swedish_ci when it should have been Collation.
:slight_smile: :slight_smile: :slight_smile:

2 Likes