Meilleur is the comparative and superlative form of the adjective bon (good), while mieux is the comparative and superlative form of the adverb bien (well). When translating into English, there is no difference between meilleur and mieux, hence the confusion.