LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2014, 11:11 AM   #16
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49

That's a good idea, maybe i'll load up a CentOS vm and install MySQL. That way I can't blow up my machine haha.
 
Old 04-25-2014, 11:13 AM   #17
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I work with Mysql and our DB's a lot. So I actually have my VM's mysql set up as a read slave that is constantly updated with replication. If I want to test something I break replication and check it out. When I am finished I run my re-replication script.

It's a good way to always have good data to work with, while not having to wait for dumps/imports.
 
1 members found this post helpful.
Old 04-27-2014, 07:53 AM   #18
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
One final suggestion: Keep detailed notes... This can save you future pain.

And roughly once/twice a week review the notes - transcribe it into a "recovery" document as a prototype for the next guy that has to deal with things.
 
3 members found this post helpful.
Old 04-28-2014, 01:38 PM   #19
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Good tip. I'm not sure why that wasn't already done by the prior guy.

I'm going to try to do a backup of the database in the morning. I'm loading a CentOS virtual machine now, that with any luck, I'll be able to restore the backup into, then I can try those truncate commands.

Thanks again everyone. I'll update this post, hopefully with some good news, as soon as I can.
 
Old 04-28-2014, 02:20 PM   #20
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
One thing I forgot, is webmin is running on this server, and it has a MySQL part that I never really noticed before. Looking there, it does look like those three things I found after "truncate" in the notes I dug through are table names (show as green folders in webmin when I click on the database).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
did anybody figure out mysql.sock error? needforspeed Linux - Software 7 10-31-2018 04:57 PM
can't figure out the sql for a corss table mysql view mjh Programming 1 02-17-2008 12:02 PM
No hurry! JormaH LinuxQuestions.org Member Intro 3 08-31-2007 01:02 PM
Need some help in a hurry rodneybeighle Linux - Software 2 09-29-2005 08:10 AM
Hurry ;) Profanity Linux - Software 11 07-25-2003 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration