<?php
$pdo = new PDO(
  "mysql:host=192.168.1.70;dbname=smproduce_prod;charset=utf8mb4",
  "smproduce",
  "StrongPass123!",
  [
    PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
    PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC
  ]
);
