When you first launch LR6, it should automatically detect your LR5 catalog, and ask you if you want to open an upgraded copy of it.
All your edits, keywords etc. will carry over.
If that doesn't happen, use File > Open in LR6, and navigate to the LR5 catalog.
Thanks I had to do it manually but it worked.