Search notes:

Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQMClient

MachineId

In SQL Server, the value of MachineId can be queried like so:
select
   value_data
from
   sys.dm_server_registry
where
   registry_key = 'HKLM\SOFTWARE\Microsoft\SQMClient' and
   value_name   = 'MachineId'

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:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1758209678, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/registry/tree/HKEY_LOCAL_MACHINE/Software/Microsoft/SQMClient/index(41): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78