Jump to content
  • 0
keoco

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

Question

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..

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

export them first on MYSQL Workbench click Manage Import/Export.

then on phpmyadmin of your vps import them.

Edited by ngek202
Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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.

Link to comment

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
Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.