Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8077235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:25:53+00:00 2026-06-05T15:25:53+00:00

I copied the raw MySQL files of my website from the database directory because

  • 0

I copied the raw MySQL files of my website from the database directory because my phpmyadmin does not work. How can i create a sql or csv file from all the db files and then import them into my older server’s phpMyadmin?

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:25:53+00:00Added an answer on June 5, 2026 at 3:25 pm

    Never do such “backups”.

    You will need exact same version (or very similar) of mysql server that created files.

    Install MySQL server and copy your files into folder under data directory (while mysql not running yet or stop it first).

    Then start server and check log.If no fatal error inside, you win.

    Also, if tables are created by InnoDB engine, you will need transaction logs files also.
    Maybe you will not able to restore it correctly at all.

    For next time, best way to do such thing and avoid doing some magic is to use mysqldump.

    UPDATE:

    let’s say your username is dbuser and your password is dbpass and your database is called mydb.Then you can create full solid backup by issuing following command from server where mysql is running:

    mysqldump -udbuser -pdbpass mydb > /path/to/new/backupfile.sql
    

    after this you can import sql file into other mysql server by issuing following command:

    mysql -udbuser -pdbpass mydb <  /path/to/new/backupfile.sql
    

    Some detailed article on this here

    Also take a look here : https://stackoverflow.com/questions/2707930/mysql-db-import-export-command-line-in-windows

    Some further reading:

    • http://dev.mysql.com/doc/refman/5.0/en/replication-howto-rawdata.html
    • http://www.igvita.com/2007/10/10/hands-on-mysql-backup-migration/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Copied from my log file ActionView::Template::Error (Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs
My application copies a bunch of files from res.raw to files on the SD
I copied this class from a similar class I have in this app that
I copied this systemd service file from the lighttpd-package and adapted it to make
I copied a solution to another directory and changed all the Namespaces, removed TFS
I copied the example straight from their page: http://jsfiddle.net/D2RLR/631/ ... and I get the
copied following code from http://jqueryui.com/demos/resizable/#default <meta charset=utf-8> <style>#resizable { width: 150px; height: 150px; padding:
I am using pathogen and I copied the minibufexplorer plugin: wget -O ~/.vim/bundle/minibufexpl.vim https://raw.github.com/fholgado/minibufexpl.vim/master/plugin/minibufexpl.vim
Hi I'm trying to get files in my res/raw folder of my android application
I'm still not 100% sure with the framework linking process, but from what I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.