Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >> General Public > Chit Chat Public
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Chit Chat Public Talk about any thing you want! This forum is public.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-21-2004, 01:40 AM
joshcombs's Avatar
joshcombs joshcombs is offline
Linux N00B!
Vortech Inc. Customer
 
Location: Cincinnati Ohio
Send a message via AIM to joshcombs Send a message via MSN to joshcombs Send a message via Skype to joshcombs
My forums got hacked! Quick Question!!!

How can I use Linux to connect to mysql and reupload my database? I tried using phpmyadmin and the file was too large. Thanks

Josh
__________________
Joshua Combs
Streamline Web Solutions
"everyone needs hosting at some point in time"
Streamline Web Solutions| JoshCombs.com|
Reply With Quote
  #2  
Old 07-21-2004, 02:00 AM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
I think the consensus is us sqlyog or mysql-front. sqlyog being the better. Neither are free, but low cost.
Reply With Quote
  #3  
Old 07-21-2004, 02:42 AM
bigdave's Avatar
bigdave bigdave is offline
Tired...
Banned
 
Hello If you have a dump of your database and mysql installed you can just do it from the command line:

Code:
mysql -h mysqXX.hsphere.cc -u username -p database < forum.sql Enter Password:

You could also grab the tril of my manager from EMS its a pretty cool program as well:

http://ems-hitech.com/mymanager/
Reply With Quote
  #4  
Old 07-21-2004, 01:39 PM
Light Speed's Avatar
Light Speed Light Speed is offline
Scoundrel
Vortech Inc. Customer
 
Location: Portland
You don't have to upload the db all as one.

In phpmyadmin
You can do:
The entire DB or
a few tables at a time or
a table at a time or
you can even add an empty table and then insert line by line

An exported db is just file with txt

You do have a backup that you can open to access the data though don't you?

If so it should have info like this example:
Code:
CREATE TABLE `card_img` ( `card_id` int(20) NOT NULL auto_increment, `cat_id` int(30) NOT NULL default '0', `card_image` varchar(150) NOT NULL default '', `card_thm` varchar(180) NOT NULL default '', `card_template` varchar(30) NOT NULL default '', `card_date` date NOT NULL default '0000-00-00', PRIMARY KEY (`card_id`), KEY `cat_id` (`cat_id`) ) TYPE=MyISAM AUTO_INCREMENT=37 ;


So if you cut and past that into your SQl query window in phpmyadmin it will create a table called card_img.

in your db backup below the create table there should be insert statements for that table that look like this:
Code:
INSERT INTO `card_img` VALUES (15, 1, 'image/lsc_ecard_boutique_01.gif', 'image/lsc_ecard_boutique_01_thm.gif', 'horiz_temp', '2003-05-01'); INSERT INTO `card_img` VALUES (14, 1, 'image/lsc_ecard_badfairies.gif', 'image/lsc_ecard_badfairies_thm.gif', 'horiz_temp', '2003-05-01'); INSERT INTO `card_img` VALUES (16, 1, 'image/lsc_ecard_glamourpuss.gif', 'image/lsc_ecard_glamourpuss_thm.gif', 'horiz_temp', '2003-05-01');

If you cut and paste those into the query window it will add those to the card_img table. If you have hundreds of thousands of rows to insert you can do it in sections.

This method may not be pretty but it works fine and is easy.
Reply With Quote
  #5  
Old 07-21-2004, 01:41 PM
maytricks maytricks is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
When I need to upload a dump I generally do it 3 or 4 tables at a time, for the larger tables, like templates, userinfo, I just break up.
Reply With Quote
  #6  
Old 07-21-2004, 11:19 PM
generic's Avatar
generic generic is offline
guess who.. :)
Vortech Inc. Customer
 
Location: chicago
just for info, what got hacked and how?
__________________
goodbye idevaffiliate, you can kiss my @$* with your poor support and broken script, I am now using post affiliate pro 3
Reply With Quote
  #7  
Old 07-21-2004, 11:27 PM
joshcombs's Avatar
joshcombs joshcombs is offline
Linux N00B!
Vortech Inc. Customer
 
Location: Cincinnati Ohio
Send a message via AIM to joshcombs Send a message via MSN to joshcombs Send a message via Skype to joshcombs
Quote:
Originally Posted by tracewebspace
just for info, what got hacked and how?

Vbulletin 2.2.8 it was a hole in the calendar.php page
__________________
Joshua Combs
Streamline Web Solutions
"everyone needs hosting at some point in time"
Streamline Web Solutions| JoshCombs.com|
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customer account hacked! kattouf Chit Chat Public 22 05-20-2005 01:20 PM
anyone else been hacked/defaced by [Hacked by dodo885] bootNumlock Chit Chat Public 4 04-16-2005 02:56 PM
yahoo hacked ? cambodia Chit Chat Public 2 09-11-2004 01:07 PM
Quick question with dns Silverbug Chit Chat Public 1 04-23-2004 09:19 AM


All times are GMT -5. The time now is 01:40 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Vortech Inc. ©2009
Page generated in 0.45227 seconds with 18 queries
[Output: 72.07 Kb. compressed to 67.26 Kb. by saving 4.81 Kb. (6.68%)]