Comment to '"Database connect failed"'
  • I do not think the problem comes from the script, something on your server definitely prevents the connection. maybe try to connect to this base in ssh with the user and password used for una, i think you will get an error that will put you on the track.