Jump to content

Crashed OS, how to transfer mysql database


Millertime1

Recommended Posts

Hello, I could really use a hand transferring my database off of an external hard drive onto a new drive after my os crashed. I'm running xampp with php 5.5 and my database is password protected so I need to be able to reset that too. Everything i have tried has not worked and now mysql can't be found so I have to do a new install. My database engine is innoDB. Sorry I'm new to programming and was running phpmyadmin so I don't quite understand getting shell commands to work since now mysql can't be found...

Link to comment
Share on other sites

If you are using a local server the easiest way is to mount the partiotion where your crashed OS and DB server were depolyed using an external live cd with linux copy and copy db binary files to the new drive or use a rescue cd. What's the name of crashed OS? Windows?       

Link to comment
Share on other sites

Thanks for the advice. I was actually able to get it to work after a fresh install of xampp so I must have corrupted mysql when I was messing around with a .ini file or shell.

 

I'm doing all my development on the shared computer with the wife so I was running xampp on windows even though I'm running a dual boot computer...the wife hates linux so she always loads windows when she gets on so its a headache to restart it all the time.

Edited by Millertime1
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.