What code that is not working are you talking about? You see the standard message that you've entered the invalid username and/or password. That means that Mibew works quite right.
Moreover. In case of database connection issues there should be completely different error message. So, I can tell you only the same thing as Mibew do: you are entering invalid username and/or password. There are no user with this username and/or password in the database of your remote Mibew installation.
You have to understand that we know nothing about your local Mibew installation. And we know nothing about your remote Mibew installation too. And we are unable to observe the details of your problem in our magical crystal ball.
And please read the canonical text about
the right way to ask questions.