Login error - username or password is incorrect

I am facing login error while inserting correct username and password.

While I am using my local server i.e wamp or xampp it is running fine but when I run the website into 000webhost server it was showing me an error like “username or password was incorrect” (user defined error when anyone is incorrect).

Screenshot_2018-02-20-11-04-15-996

Do you have any database? And config file?

Yes I have database and config file.

Did you imported your local database here or made a new one?

I created same as my local database.

then now in your config file set your db name,db username and password to the current database details that you have made here

It’s not working when changing the config file.
for eg.

<?php $dbServername = "localhost"; $dbUname = "username"; $dbPassword = "password"; $dbName = "dbname"; $con = mysqli_connect($dbServername, $dbUname, $dbPassword, $dbName); ?>

set dbuname = "currentdb username"
dbpassword = "current db pass"
dbName = “current db name”

Open your database in manage database and get all details about it.

I already tried but it is not working?