2023-11-23 13:23:14
2023-11-23 01:46:24
2023-11-23 01:42:23
1947248
[14-Nov-2023 14:15:30 UTC] PHP Fatal error: Uncaught mysqli_sql_exception: Connection refused in /var/www/html/src/Database/Database.php:191
Stack trace:
#0 /var/www/html/src/Database/Database.php(191): mysqli->__construct()
#1 /var/www/html/src/Database/Database.php(97): Friendica\Database\Database->connect()
#2 [internal function]: Friendica\Database\Database->__construct()
#3 /var/www/html/vendor/level-2/dice/Dice.php(132): ReflectionMethod->invokeArgs()
#4 /var/www/html/vendor/level-2/dice/Dice.php(96): Dice\Dice->Dice\{closure}()
#5 /var/www/html/src/DI.php(98): Dice\Dice->create()
#6 /var/www/html/src/DI.php(66): Friendica\DI::dba()
#7 /var/www/html/src/DI.php(54): Friendica\DI::setCompositeRootDependencyByHand()
#8 /var/www/html/index.php(35): Friendica\DI::init()
#9 {main}
thrown in /var/www/html/src/Database/Database.php on line 191
Friendica Source: gitHub
PHP version: 8.1.2-1ubuntu2.14
SQL version: MySQL / MariaDB
memory_limit 256M
4 Core CPU, 8 GB Ram with 300GB NVME Disk
PHP error log thrown in /src/Database/Database.php on line 191
hi there, I have this message in my php.error.log
what should I do?
I didn't have a look at gitHub
php.error.log Database.php on line 191
thrown in /var/www/html/src/Database/Database.php on line 191[14-Nov-2023 14:15:30 UTC] PHP Fatal error: Uncaught mysqli_sql_exception: Connection refused in /var/www/html/src/Database/Database.php:191
Stack trace:
#0 /var/www/html/src/Database/Database.php(191): mysqli->__construct()
#1 /var/www/html/src/Database/Database.php(97): Friendica\Database\Database->connect()
#2 [internal function]: Friendica\Database\Database->__construct()
#3 /var/www/html/vendor/level-2/dice/Dice.php(132): ReflectionMethod->invokeArgs()
#4 /var/www/html/vendor/level-2/dice/Dice.php(96): Dice\Dice->Dice\{closure}()
#5 /var/www/html/src/DI.php(98): Dice\Dice->create()
#6 /var/www/html/src/DI.php(66): Friendica\DI::dba()
#7 /var/www/html/src/DI.php(54): Friendica\DI::setCompositeRootDependencyByHand()
#8 /var/www/html/index.php(35): Friendica\DI::init()
#9 {main}
thrown in /var/www/html/src/Database/Database.php on line 191
Platform Info: 2023.05 - stable
Friendica Version: 2023.05 - stableFriendica Source: gitHub
PHP version: 8.1.2-1ubuntu2.14
SQL version: MySQL / MariaDB
memory_limit 256M
4 Core CPU, 8 GB Ram with 300GB NVME Disk
silverwizard
•is the mysql server connecting at all? Is the password right?
Hypolite Petovan likes this.
Hypolite Petovan
•local.config.php
file.Friendica Support reshared this.
utopiArte
•this error message appears like every once in a while.
there is this doubt I have that I posted before:
https://tupambae.org/display/0ac89072-3265-57ac-9e2e-ad6124730963
@silverwizard
> is the mysql server connecting at all?
Could I be able to domost things but not with all profiles?
I mean I posted these helpreuqestsuploadpictures, answer posts, get notifications.
There a profiles that can't comment on public posts of others even tho they should be able to.
this error message appears like every once in a while.
there is this doubt I have that I posted before:
https://tupambae.org/display/0ac89072-3265-57ac-9e2e-ad6124730963
@silverwizard
> is the mysql server connecting at all?
Could I be able to domost things but not with all profiles?
I mean I posted these helpreuqestsuploadpictures, answer posts, get notifications.
There a profiles that can't comment on public posts of others even tho they should be able to.
TupambAdmin [stable]
2023-11-17 18:10:38
Hypolite Petovan
•Friendica Support reshared this.
silverwizard
•Hypolite Petovan
•Friendica Support reshared this.
silverwizard
•utopiArte
•Have a look at the spoiler above:
Platform Info: 2023.05 - stable
memory_limit 256M
4 Core CPU, 8 GB Ram with 300GB NVME Disk
That should be more than suffice and the server has basically no users, only some forum pages with few followers as of now.
Again, going back to my initial question of the other help request.
https://tupambae.org/display/0ac89072-3265-57ac-9e2e-ad6124730963
Is it possible that in the moment of initial installation on the BETA testing site the setting:
'hostname' => 'subdomain.oldhosting.com:3306'
was registered somewhere in the DB and is messing now with some functionality while the node actually migrated to a standard Ubuntu VPS that doesn't use some kind of SNAP installation?
Have a look at the spoiler above:
Platform Info: 2023.05 - stable
memory_limit 256M
4 Core CPU, 8 GB Ram with 300GB NVME Disk
That should be more than suffice and the server has basically no users, only some forum pages with few followers as of now.
Again, going back to my initial question of the other help request.
https://tupambae.org/display/0ac89072-3265-57ac-9e2e-ad6124730963
Is it possible that in the moment of initial installation on the BETA testing site the setting:
'hostname' => 'subdomain.oldhosting.com:3306'
was registered somewhere in the DB and is messing now with some functionality while the node actually migrated to a standard Ubuntu VPS that doesn't use some kind of SNAP installation?
TupambAdmin [stable]
2023-11-17 18:10:38
silverwizard
•