Page 1 of 1

How to access data table on another local drive

PostPosted: 21. August 2010 16:03
by scott1137
I've dropped a table and now can't log in to site via phpmysql. I want to find the dropped table on the backup on my local computer.

I have XAMPP installed on my c: drive (XP pro) to use with other local sites. However it is not configured to access this backup site. How do you suggest I do this? Also, There is phpmysql folder in the backup folder as part of the backed up site. Have not figured out how to get to that via localhost.

Thanks,

Scott

Re: How to access data table on another local drive

PostPosted: 21. August 2010 17:43
by JonB
Have not figured out how to get to that via localhost.


You probably can't.

How did you make the backup? and where is it located?

I sure hope that 'backup' you are referring to was a 'real' MySQL backup, not merely a copy of some folders, but we will have to wait for your answers. :?:

Re: How to access data table on another local drive

PostPosted: 21. August 2010 18:38
by scott1137
Thank you.

It is on an external hard drive. I backed up both the folders and backed up the database from php/myadmin. It is a .sql file

Re: How to access data table on another local drive

PostPosted: 21. August 2010 20:56
by scott1137
Duh. I can open and search for the 'dropped' table in text editor.

Next steps as I understand them - I'm pretty new at this so please advise if I'm messing something up:
1.Find the part that creates the missing table (I have the name from following this procedurehttp://docs.joomla.org/How_do_you_recover_your_admin_password%3F.
2. Post it into PHPMyAdmin.
3. pray it works/that there are no other missing tables.
Scott

Re: How to access data table on another local drive

PostPosted: 21. August 2010 21:08
by scott1137
That worked!
Thanks all.
Scott

Re: How to access data table on another local drive

PostPosted: 22. August 2010 03:29
by JonB
Good job Scott :mrgreen:

Give yourself a toast with whatever feels good for you!
:D

Re: How to access data table on another local drive

PostPosted: 22. August 2010 04:42
by scott1137
Thank you, JonB, for pointing me in the direction of the actual file. I couldn't see the tree for the forest. Once I looked at the file I remembered I could get to it via text editor, etc...
Scott