Mit mysqli statt mysql funktioniert der Aufruf zuverlässig:
<?php
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
$connection = mysqli_connect("hostname", "user", "password", "db", "port");
$result = mysqli_query($connection, "CALL StoreProcName");
while ($row = mysqli_fetch_array($result)) {
echo $row[0] . " - " . $row[1];
}
?>Die alte mysql-API bereitet in diesem Kontext häufig Probleme und ist veraltet.