If you meant to upgrade your trial account but ended up creating a brand-new WoW game on your Battle.net account instead, the best move is to reach out to customer service. Explain that you'd like the characters from your trial account transferred over to your new account.
If you were actually hoping to take advantage of the Recruit-A-Friend (RAF) feature, tell them that instead. Ask whether your trial account can be upgraded using the details from your second account so you can still make the most of RAF's benefits.
Either way, expect to be asked for identification and the authentication key for your new WoW account, so keep those handy when you contact them.