fixed sed command for db creds