Skip to content

Access denied after a few hours #1181

Answered by cnxsoft
cnxsoft asked this question in Help wanted
Sep 18, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Here's the exact error I get in the web browser:
"An unexpected error occurred"

shlink.error is empty.

Example of command that fails:

`sudo -u www-data php8.0 bin/cli api-key:list

In AbstractMySQLDriver.php line 112:

An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for u
ser 'shlink'@'localhost' (using password: YES)

In Exception.php line 18:

SQLSTATE[HY000] [1045] Access denied for user 'shlink'@'localhost' (using p
assword: YES)

In PDOConnection.php line 39:

SQLSTATE[HY000] [1045] Access denied for user 'shlink'@'localhost' (using p
assword: YES)

api-key:list [-e|--enabled-only] [--enabledOnly]`

It's like shlink will forget the password after a while...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@acelaya
Comment options

@cnxsoft
Comment options

Answer selected by acelaya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #1180 on September 18, 2021 13:50.