Mi is a minefield. It is pronouced 'mee'.
米 (mǐ) means 'rice' but is seldom used on its own. It also means 'grain'. Uncooked rice is 大米 (dà mǐ), literally 'big rice'. Small rice is 小米 (xiǎo mǐ), which means millet.
If you're in restaurant and want rice ask for米饭 (mǐ fàn), literally 'rice food'. This is cooked rice. But as always, watch that falling then rising tone on mǐ.
If you accidentally use a falling tone 泌 (mì), instead of ordering rice, you've expressed your desire to excrete, not something your server wants to know.
They would prefer if instead fouled up by using a rising tone. 靡 (mí) means to waste money. This they encourage. They're on commission.
If you really want to annoy them, when they come and ask you for your order, say 秘密 (mì mì) which means 'it's a secret'.
Then we have the great 蜂蜜 / 蜂蜜 (mì fēng) / (fēng mì) mystery. Just reversing the two characters, they are either honey 🍯or bee 🐝. No one knows which is which!
Actually they are 蜂蜜 bee / 蜂蜜 honey. Maybe.
