1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Importing mysql database error database exists

Discussion in 'Troubleshooting and Problems' started by Skruble, Oct 12, 2014.

  1. Skruble

    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
    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?
  2. Glockie

    Glockie Well-Known Member

Share This Page