how does one delete the DB and setup as new?

ImAMacGuy
Valued Contributor II

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

1 ACCEPTED SOLUTION

ImAMacGuy
Valued Contributor II

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 solution in original post

3 REPLIES 3

iJake
Valued Contributor

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

ImAMacGuy
Valued Contributor II

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
Valued Contributor

It will definitely start your JSS all over again.