Not every mosque feels the same. Some are mainly for one ethnic group or language, others are mixed, and some have special programmes for new Muslims. If the first one does not suit you, try another. Universities have Muslim student societies, and many cities have new Muslim groups that meet weekly or monthly. Women usually pray in a separate area or room; call ahead to ask where, and what the dress code is. This website has a short guide to visiting a mosque.
Friendship is a part of faith in Islam. The Prophet ﷺ said that you will not enter Paradise until you believe, and you will not believe until you love one another, and he told the Companions to spread the greeting of peace (salam) between themselves to build that love. He also compared a good companion to a seller of perfume: you will either buy from him, or at least enjoy the scent. Make the first move with a smile and 'As-salamu alaykum', ask someone to pray beside you, and accept invitations for tea or dinner.
Praying in a group is a good way to meet people as well, because the Prophet ﷺ taught that the prayer in congregation is worth many times more than the prayer alone. Do not expect deep friendship at once. Show up regularly, help with something small like setting out chairs or serving food, and let trust grow. One kind person can make the whole community feel like home.