Mysore is about 138 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Thalassery.
How far is Beaufort from the ocean
How far is San Diego from the ocean
How far is Sacramento from the ocean
How far is Ann Arbor from the ocean
How far is Park City from the ocean
How far is Pigeon Forge from the ocean
How far is Galveston from the ocean
How far is Anaheim from the ocean
How far is Provincetown from the ocean
How far is Bamberg from the ocean