Activity Stream
48,167 MEMBERS
61338 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 13

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    DjSmuggla.com HipHopDownloadz.com
    Ok so it would be like this:

    mysql -u hhd_ddforum -p hhd_ddforum < mysql-ddforum.sql

    The bit at the end is just the filename, have i got to put the database name_then filename. like this hhd_forum_mysql-ddforum.sql or is it ok above.

    Shall i upload the sql file to the rorum root?

    Thanks
    blow Reviewed by blow on . Database Error When Restoring With Bigdump Im tring to restore my vbulleting forum on my new vps. I've uploaded all the files, & imported the database with bigdump. It said it has been completed sucessfully, but im getting this database error when i go to my site: <!-- Database error in vBulletin : Invalid SQL: SELECT * Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    You can upload the .sql file anywhere on the server but make sure you specify the complete path to the .sql file. You have to use the complete .sql filename.

    For example, if your .sql file name is 'hhd_forum_mysql-ddforum.sql' and you uploaded the file say under, /home/rorum/ directory, your command will be:

    mysql -uhhd_ddforum -p hhd_ddforum < /home/rorum/hhd_forum_mysql-ddforum.sql
    Linux System Administrator
    Server Management at affordable cost.
    linuxhostingsupport.net | MSN:madaboutlinux@hotmail.com

  4.     
    #3
    Member
    Website's:
    DjSmuggla.com HipHopDownloadz.com
    Ok so just to clarify before i try, this is my info:

    database name: hhd_ddforum
    User name: hhd_ddforum
    Sql file name: mysql-ddforum.sql
    Sql file path: /home/hhd/hiphopdownloadz.com/mysql-ddforum.sql

    Is this right?
    Code: 
    mysql -u hhd_ddforum -p hhd_ddforum < /home/hhd/hiphopdownloadz.com/mysql-ddforum.sql
    & is there a space between "u hhd_ddforum"

    mysql -uhhd_ddforum -p hhd_ddforum < /home/hhd/hiphopdownloadz.com/mysql-ddforum.sql

  5.     
    #4
    Member
    The second command is correct i.e. the one without space between -u and the username.
    Linux System Administrator
    Server Management at affordable cost.
    linuxhostingsupport.net | MSN:madaboutlinux@hotmail.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error when Restoring a wordpress website
    By comebacktome in forum Technical Help Desk Support
    Replies: 8
    Last Post: 24th Jun 2012, 04:01 PM
  2. Need Help In Restoring Vbulletin Database on a vps with kloxo
    By awaiz007 in forum Technical Help Desk Support
    Replies: 6
    Last Post: 4th May 2012, 03:42 PM
  3. Replies: 5
    Last Post: 26th Jan 2011, 05:38 PM
  4. bigdump error...
    By anuragblr in forum Technical Help Desk Support
    Replies: 2
    Last Post: 17th Aug 2009, 02:02 PM
  5. Replies: 9
    Last Post: 26th Jul 2009, 09:50 PM

Tags for this Thread

BE SOCIAL