Zsombor
1
I see several similar issues already reported (with former versions) but I haven’t found a solution for it.
c8182zsombor@2208.wh07.rhweb.hu:/web/recreationcentral.eu$ php7.4 journal/tools/upgrade.php ugrade
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38
Stack trace:
#0 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(38): PDO->__construct(‘mysql:host=loca…’, ‘', '’, Array)
#1 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct(‘mysql:host=loca…’, ‘', '', Array)
#2 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection(‘mysql:host=loca…’, '', '***’, Array)
#3 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illumi in /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
Please help!
Zsombor
2
I forgot to format the code. Here it is.
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38
Stack trace:
#0 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(38): PDO->__construct('mysql:host=loca...', '*USER*', '*PASSWORD*', Array)
#1 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', '*USER*', '*PASSWORD*', Array)
#2 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', '*USER*', '*PASSWORD*', Array)
#3 /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illumi in /web/recreationcentral.eu/journal/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
Did you manage to fix it?
No, unfortunately I haven’t. I rollbacked from a backup. We need somebody who has more knowledge on this to upgrade our server…