XF 1.4 Importing mysql database error database exists

Skruble

Member
So I recently have been trying to move my Xenforo forums to my new server. I've tried to upload the database to phpmyadmin, but the file is to big. So I've tried to import it via SSH I used this command
Code:
mysql -u root -p forums < localhost.sql
Afterward I get:

Unknown database 'forums'

So I create a database and it says:

ERROR 1007 (HY000) at line 21: Can't create database 'forums'; database exists.

What should I do?
 
Top Bottom