Tested with no username and password
database connected successfully
need the username to connect database

and we didn't used $ on variable