Can't login to wordpress wp-admin after change of url
I created a droplet with wordpress pre-installed, i was using the site with the IP as the URL for close to a week
I connected my domain name to the droplet and then i logged-in to the wordpress dashboard to also change the site-url in the settings page.
After changing, i couldn't login again, and i noticed that when i use the right password, it doesn't show any error, but when i use the wrong password it shows an error.
I have tried to edit the url details from the wp-options table in the database but that ain't working either. Any help please