vscode debugging: do I need a local copy of my mysql database too
| From: | Ian Evans | Date: | Wed, 28 Jun 2023 02:16:58 +0000 |
| Subject: | vscode debugging: do I need a local copy of my mysql database too | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328228@lists.php.net to get a copy of this message | ||
I'm upgrading some old site code from 5.5.9 to 8.1 (long story).
I decided to use vscode to help with the debugging process. When I ran
debug, one of the first error messages I received was this:
PHP Fatal error: Uncaught mysqli_sql_exception: Access denied for user
']redacted]'@'localhost' (using password: YES) in
/media/disk2/ian/gitdata/site_hub/inc/common.inc:11
Do I have to have a full local copy of the site's database on my
development PC in order to do this? It's not massive, but I just wanted to
make sure before I install it.