Re: vscode debugging: do I need a local copy of my mysql database too
| From: | Aziz Saleh | Date: | Wed, 28 Jun 2023 02:18:36 +0000 |
| Subject: | Re: vscode debugging: do I need a local copy of my mysql database too | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328229@lists.php.net to get a copy of this message | ||
Either that or you give access to your ip to access the mysql instance. I
would recommend you use a local copy
On Tue, Jun 27, 2023 at 10:17 PM Ian Evans <dheianevans@gmail.com> wrote:
> 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.
>