Skip to main content
Solved

how does one delete the DB and setup as new?


ImAMacGuy
Forum|alt.badge.img+23

So how does one delete the mysql db and start over w/o wiping the system?

Best answer by ImAMacGuy

I'm an idiot :) It's on my test server, and I just finished an 8hr copy of my Distribution point, only to realize I shouldnt have imported my old DB. I don't really want to wipe teh whole system and redo the whole copy again... sooooo I figure redoing the DB would be the next best thing.

-- DELETE ALL RECIPE
drop schema <database_name>; drop user <a_user_name>; drop user <another_user_name>;
FLUSH PRIVILEGES;

View original
Did this topic help you find an answer to your question?

3 replies

iJake
Forum|alt.badge.img+21
  • Contributor
  • 279 replies
  • August 21, 2013

Just go into your MySQL and do a drop on the jamfsoftware database. Might I ask why you are wanting to do this?


ImAMacGuy
Forum|alt.badge.img+23
  • Author
  • Esteemed Contributor
  • 1310 replies
  • Answer
  • August 21, 2013

I'm an idiot :) It's on my test server, and I just finished an 8hr copy of my Distribution point, only to realize I shouldnt have imported my old DB. I don't really want to wipe teh whole system and redo the whole copy again... sooooo I figure redoing the DB would be the next best thing.

-- DELETE ALL RECIPE
drop schema <database_name>; drop user <a_user_name>; drop user <another_user_name>;
FLUSH PRIVILEGES;


iJake
Forum|alt.badge.img+21
  • Contributor
  • 279 replies
  • August 21, 2013

It will definitely start your JSS all over again.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings