Welcome, Guest. Please Login or Register.
November 29, 2024, 07:33:39 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  [solved] Restoring a back-up Sql in phpmyadmin? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [solved] Restoring a back-up Sql in phpmyadmin?  (Read 501 times)
I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
[solved] Restoring a back-up Sql in phpmyadmin?
« on: May 13, 2003, 05:13:53 PM »
Reply with quote

Hi all -

Basically, the server my site was hosted on was badly hacked at the end of last month.

CPanel would only spit out blank .zip files, so I had to learn to use phpmyadmin to restore a backup of the forum.

Then the site went down for 9 days.

I'm now trying to re-cerate the forum on a new domain.

Here's the issue:

I ran an install of 1.5.2, but changed the folder to /forum/ instead of /yabbse/.

I've run a "replace" command through the settings.php and settings.bak files to correct the new relative folder path, and the new domain name.

Then I realised I need to check the SQL file, and have now done a search/replace through there correcting the file paths and domain name change.

NOW...

How do I actually upload the modified MySQL file into my new domain? I figure I need to use phpmyadmin, but I've looked around and just can't see any command that seems relevant. I have very little experience with online dbs.

Could anyone please help advise me of the matter?

Thanks,

Brian


« Last Edit: May 14, 2003, 11:44:57 AM by I, Brian » Logged

Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #1 on: May 13, 2003, 05:24:03 PM »
Reply with quote

find your db in phpmyadmin, click sql and there will be a browse button, hit browse and find the sql file and hit go.
Logged
Nonya
Beta Tester
Sr. Member
****
Posts: 375


YaBBse Developer Wannabe!

ICQ - 172862020nonya69rs@hotmail.com WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #2 on: May 13, 2003, 05:26:36 PM »
Reply with quote

Quote from: Scotty_B on May 13, 2003, 05:24:03 PM
find your db in phpmyadmin, click sql and there will be a browse button, hit browse and find the sql file and hit go.

Damn , man you FAST i was about to say that  :P
Logged

I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #3 on: May 13, 2003, 06:10:03 PM »
Reply with quote

Thanks for that - much appreciated. :)

phpmyadmin is throwing up 404s now, though, so I've contacted my host support.

Logged

Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #4 on: May 13, 2003, 06:49:01 PM »
Reply with quote

Quote from: I, Brian on May 13, 2003, 06:10:03 PM
Thanks for that - much appreciated. :)

phpmyadmin is throwing up 404s now, though, so I've contacted my host support.

If that's at the host we both use, it's been happening to me too! I've been intending to raise it, but have noted that every action has still worked despite leading to a 404!

If it is that host, did you raise it through a support ticket or the forums (interested because I'll still have to contact them too)?
Logged

Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #5 on: May 13, 2003, 07:11:18 PM »
Reply with quote

if your hosts phpmyadmin is broke, you could always download it from http://www.phpmyadmin.net/

Its relatively simple to set up :)
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #6 on: May 13, 2003, 07:14:17 PM »
Reply with quote

Thanks for the thought, but I'm 100% confident they'll fix it... ;)
Logged

Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #7 on: May 13, 2003, 07:20:28 PM »
Reply with quote

Quote from: Peter Duggan on May 13, 2003, 07:14:17 PM
Thanks for the thought, but I'm 100% confident they'll fix it... ;)

True, but I've never noticed any hosts control panel thats upto date with the latest release of phpmyadmin.
Logged
Douglas
aka The Bear
Support Team
YaBB God
*****
Posts: 1050


Bears rule! Llamas rule too!

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #8 on: May 13, 2003, 09:29:57 PM »
Reply with quote

Glad I don't use a control panel, although I do check for phpMyAdmin updates monthly and update ALL my clients (not just my server, but other servers that belong to my clients) with the latest, after it's been stable.
Logged

Need help? Please SEARCH first.  No need for a bad attitude, we like helping positive minded people.
ComeHit.us Short URL  redirection svcs with YSE powered forums, COMING SOON!
Want to say thanks?  Check out http://comehit.us/?u=3
I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #9 on: May 14, 2003, 11:24:11 AM »
Reply with quote


QuoteIf that's at the host we both use, it's been happening to me too!

LOL! I'm now with 4 different hosts - 5 this weekend. :)

This was a problem at VenturesOnline - but it had also occured at akashik.net. Fixed at both places. I'll post the tech report from VO in case it's of any help:

Quote
Hi,
It turns out the problem wasn't just restricted to MyAdmin, it also affected the command
line tool. What was happening was that one of the insert requests in the SQL
file was larger than the MySQL input buffer, and was causing the server to close the
connection. Making the buffer larger solved the problem, and your data has been
reloaded. Chances are MyAdmin will work correctly now as well.
Logged

Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Restoring a back-up Sql in phpmyadmin?
« Reply #10 on: May 14, 2003, 12:17:32 PM »
Reply with quote

Quote from: I, Brian on May 14, 2003, 11:24:11 AM

QuoteIf that's at the host we both use, it's been happening to me too!

LOL! I'm now with 4 different hosts - 5 this weekend. :)

This was a problem at VenturesOnline - but it had also occured at akashik.net. Fixed at both places. I'll post the tech report from VO in case it's of any help:

No, it's neither of those, but thanks anyway! So I knew you were with more than one host, but clearly overestimated the impact of the 'if' in my own questions... ;)
« Last Edit: May 14, 2003, 12:20:19 PM by Peter Duggan » Logged

I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:[solved] Restoring a back-up Sql in phpmyadmin?
« Reply #11 on: May 14, 2003, 12:33:08 PM »
Reply with quote

I couldn't use an account with unitedhosting - my ISP is blocking secure ports over 1080, so I couldn't access the Ensim control panel. Signed-up and then refunded this week.

I'm sure Matt will get it sorted. :)

Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  [solved] Restoring a back-up Sql in phpmyadmin? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.058 seconds with 21 queries.