Re: [PHP-DB] PHP mysqli is NOT trapping some errors when calling stored procedure

[email protected] (Aziz Saleh) Tue, 12 Feb 2019 11:25:43 -0500
Newsgroups php.db
Message-ID <CAPJtNhX2s5+u9qpF8Hjz9wu5q-fcOnmL-gnZZJxmswDQ1boZyg@mail.gmail.com>
--0000000000004321590581b4e2d1
Content-Type: text/plain; charset="UTF-8"

Do you have sufficient privileges to execute stored procedures (procs_priv)
on PHP's end?

On Tue, Feb 12, 2019 at 11:07 AM Venkat Hariharan <[email protected]>
wrote:

> Can you take a look at the issue that I've described at
>
> https://stackoverflow.com/questions/54643704/php-mysqli-is-not-trapping-some-errors-when-calling-stored-procedure
> and tell me what I am missing in my PHP code ?
>
> To summarize: I am calling a MySQL stored procedure from PHP that does some
> DMLs (using mysqli). But the problem is that PHP is not able to get
> intimated of some database error conditions raised by the stored proc
> (which I know are raised, bcoz they do get flagged when invoked from a
> mysql client)
>
> I've listed the relevant code fragments there. Am I not using mysqli
> correctly?
>
> Thanks,
> Venkat
>

--0000000000004321590581b4e2d1--