Please use the sqoop list database syntax in a proper manner as shown below for your reference. Firstly, there is no blank space between list and -databases. And because you are listing the databases, you should not mention the name of the database in your command.
$ sqoop list-databases --connect jdbc:mysql://localhost/ --username root