Koozali.org: home of the SME Server

Reinstall sme7 and preserve ibays, users and groups?

deznuts

Reinstall sme7 and preserve ibays, users and groups?
« on: November 29, 2006, 05:01:59 AM »
I have really fouled up mysql and would like to completely reset all mysql related settings to their defaults. I am not worried about losing data. the only tables i was using were sme7admin, i was not using hoarde. Is there an easy way to do this?

deznuts

Reinstall sme7 and preserve ibays, users and groups?
« Reply #1 on: December 04, 2006, 08:05:05 PM »
ok no suggestions on mysql reset ? . . . if i just do a reinstall from cd will my ibay data, users and groups be preserved?

Offline raem

  • *
  • 3,972
  • +4/-0
Reinstall sme7 and preserve ibays, users and groups?
« Reply #2 on: December 05, 2006, 12:02:57 AM »
deznuts

> ok no suggestions on mysql reset ?
> . . . if i just do a reinstall from cd will my ibay data, users and groups be preserved?

Doing a upgrade install from CD will preserve everything, but also probably preserve your wrong settings. You can always try and see if it fixes things.


> I have really fouled up mysql and would like to completely reset all mysql related settings to their defaults.

You don't tell us what you did, so we can't tell you what to reset.
It's easier for you to tell us what you did, than expect us to guess what you did.

There are posts here about resetting the root mysql password to default, search on mysql if that's what you want.

Otherwise the "general way" to reset a sme server is to uninstall all add on contribs (& hope they cleanly remove all setting changes they made at install time), and also you can delete all custom templates from
/etc/e-smith/templates-custom
& then do
signal-event post-upgrade
reboot

This assumes of course that you have not made customised changes elsewhere in the system, but we don't know as you have not told us.
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Reinstall sme7 and preserve ibays, users and groups?
« Reply #3 on: December 05, 2006, 01:08:43 AM »
Quote from: "deznuts"
if i just do a reinstall from cd will my ibay data, users and groups be preserved?


No.