Posted by Ratfish on 10/17/17 12:00
I'm getting a "2014:: Commands out of sync; you can't run this command
now" error on a php page when I try to call a second stored procedure
against a MySQL db. Does anyone know why I might be getting this
error? The error doesn't occur on my development box where I use the
'root' db user, but does occur in production where I'm using a non-
root user record to establish a connection. I'm essentially opening a
connection at the top of the php page and then calling multiple stored
procedures to fetch data. When I call the 2nd stored procedure I'm
getting the error. Any info would be greatly appreciated.
Aaron
[Back to original message]
|