Jump to content
  • 0

[Help] how do i import my current sql data to a VPS?


Question

Posted

how do i do that? i want to put my sql data (log,ragnarok) schemas and import them into a VPS mysql for use, hope i explained that well, thanks /ok

*additional info : i have to upload a file, so im assuming i have to save mysql data into a file then upload it..

10 answers to this question

Recommended Posts

Posted

what options do i choose in the import/export? theres log,mysql,ragnarok,test, do i have to tick them all and select tables? also i pressed "export to self-contained file"

Posted · Hidden by Ehcloprom, February 4, 2012 - bleh useless to the topic
Hidden by Ehcloprom, February 4, 2012 - bleh useless to the topic

I blame it on that workbench crap it sucks. GUI TOOLS are easier.

Posted (edited)

Hi keoco,

Where is your current SQL database located? And what sort of medium are you using to access it?

If you already have backed up your database into *.sql files; then just upload them onto your VPS using WinSCP. Once they are uploaded, just run this following command to import the *.sql file to your VPS's MySQL server...

mysql -u <USER> -p, --password=<PASSWORD> <DATABASE> < <FILE>.sql

Make sure your MySQL account that you are using has permissions to use that database.

Edited by Asura
  • Love 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...