Search notes:

/mnt/wsl/

/mnt/wsl is a tmpfs filesystem:
$ mount | grep  '/mnt/wsl\>'
none on /mnt/wsl type tmpfs (rw,relatime)
As per this comment, WSL creates different mount namespaces for distributions, and /mnt/wsl is a mountpoint that all namespaces share.

resolv.conf

At least in my WSL installation /etc/resolv.conf is a symbolic link to /mnt/wsl/resolv.conf.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/Linux/fh...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1759390957, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/mnt/wsl(41): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51