How to access iMessage library using Sequel Pro on macOS
Messages uses an SQLite database structure, so you can't open this with Sequel Pro. You can open the Messages database at ~/Library/Messages/chat.db using DB Browser for SQLite.