I don't know if it's just my default install of acquia drupal stack with no password, but whenever I try doing a backup of the default db, it gives me the site offline screen. It even happens when I try to do a download of the file.

Comments

qbnflaco’s picture

*no password for mysql user

ronan’s picture

Is there an error on the offline screen (like cannot connect to db or similar) or is it the standard site offline message text?

qbnflaco’s picture

standard offline text message.

qbnflaco’s picture

There was an error below it...

The mysqli error was: Can't connect to MySQL server on '127.0.0.1' (10061).

Could this be because the acquia drupal stack uses port 33066? I would think this was being read directly from the settings.php file which has it correct.

vako’s picture

This will sound obvious, but have you checked to see if the Take site offline option is checked in the Advanced Backup\Advanced Options?

Also this option is not putting the site back online after the backup finished, instead it give page-not-found error.

qbnflaco’s picture

same thing if that option is checked or not.

qbnflaco’s picture

Is there any php extension that is required for this? Acquia removes alot of the unneeded extensions for php. THen again I guess it would have given me a php error. Just putting this out there.

ronan’s picture

It is in fact reading the info from the settings.php but I guess I've never tried this with a non-standard port and don't suse Acquia's stack myself. Does your db connection string have a port in it (ie mysqli://user:pass@sever:port/dbname)? If that's the case then I suppose that port could be being lost when the settings are read.

qbnflaco’s picture

yes it does have the port number in it.

ronan’s picture

Status: Active » Fixed

Can you try the latest dev release? Some port handling code went into the module (for an unrelated issue) and it will hopefully take care of this issue. Reopen if it doesn't

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.