Perhaps, you have slightly misunderstood the method to connect it. Even if you are running it on the local system, you have to specify the hostname. When you use localhost, it doesn't connect to a database because the database is pointed by the url containing the hostname. So mention the hostname, it should work:
$ sqoop import --connect jdbc:mysql://<hostname>/employees