Mi piaceva (imperfetto): I used to like it - meaning I liked something or somebody, but not anymore. It may also be used to say that you enjoyed doing something, but you don't do that anymore (but you may still like it): "mi piaceva andare a sciare, ma poi sono andato a vivere al mare" ..
Mi è piaciuto (passato prossimo): I have liked it (something specific, at a specific past time) ... it is a recent past, indicating that the feeling of "like" is probably ongoing ("Mi è piaciuto come si è comportato" "il gelato mi è piaciuto")
Attention: if you add "sempre", "mi è sempre piaciuto sciare" this means I have always liked skiing, so it is something that you started liking in the past, and you continue liking it nowadays