Koozali.org: home of the SME Server

backup to desktop fails after changing mysql root password

ksc133

backup to desktop fails after changing mysql root password
« on: June 16, 2006, 04:23:06 PM »
hi folks,

backup to desktop fails after changing mysql root password

error: Operation status report
Error occurred during pre-backup actions.

any ideas?

thanks and have a nice day

ksc133

backup to desktop fails after changing mysql root password
« Reply #1 on: June 16, 2006, 04:29:22 PM »
is it possible that the mysql dump script needs to edit the root password of mysql?

 :roll:

Offline dsemuk

  • *****
  • 269
  • +0/-0
backup to desktop fails after changing mysql root password
« Reply #2 on: June 16, 2006, 06:30:18 PM »
You shouldn't have any reason to change the MySQL root passwd.

Do a search for MySQL root password and you will see this has been covered many many times.

Any application which needs access to MySQL should have its own DB & User(s), with privileges set for that particular application.

Running an application as root is asking for trouble.

Dave
--
Esmith/Mitel/SME server  :-D...

ksc133

backup to desktop fails after changing mysql root password
« Reply #3 on: June 16, 2006, 06:35:42 PM »
thanks

but the default root password for SME fresh installation is "blank"!

so can anyone advice me on how to edit the backup script to include my new password?

thanks and have a nice day.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
backup to desktop fails after changing mysql root password
« Reply #4 on: June 16, 2006, 10:10:27 PM »
Quote from: "ksc133"

but the default root password for SME fresh installation is "blank"!


No, that is *false*. The default root password for MySQL is a long random string. If you happened to be logged in as root, you do not need to type the password, because the 'mysql' client program reads it from /root/.my.cnf.

ksc133

backup to desktop fails after changing mysql root password
« Reply #5 on: June 17, 2006, 03:32:35 AM »
thanks for info.. pal

cheers!