Skip to main content


PHP error log thrown in /src/Database/Database.php on line 191


@utopiArte that starts with a "connection refused"
is the mysql server connecting at all? Is the password right?
@utopiArte Connection refused means that your database configuration is wrong in your local.config.php file.
This entry was edited (10 months ago)

Friendica Support reshared this.

@utopiArte If it’s sporadic and your node mostly works, then your database server might be acting up. In this case, there’s little that can be done at the Friendica level. Has your database server enough resources to run?

Friendica Support reshared this.

@Hypolite Petovan @utopiArte Typically I'd expect it to be a network error rather than an overload with that specific error, but easy to be both
@silverwizard Wouldn’t a network issue result in a timeout rather that a refused connection?

Friendica Support reshared this.

@utopiArte @Hypolite Petovan yeah - if the user is allowed access from only subdomain.oldhosting.com in mysql (check the users table) then you wont have access and your connection will be refused