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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-25-2014, 11:11 AM
|
#16
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
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.
|
|
|
04-25-2014, 11:13 AM
|
#17
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
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.
|
04-27-2014, 07:53 AM
|
#18
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912
|
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.
|
04-28-2014, 01:38 PM
|
#19
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
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.
|
|
|
04-28-2014, 02:20 PM
|
#20
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
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).
|
|
|
All times are GMT -5. The time now is 04:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|