开发者

pdo/mysql create procedure

I'd like to create a procedure from PHP using PDO...I can execute the procedure with PDO, I can cre开发者_JAVA技巧ate the procedure with the console line or with phpmyadmin, but I'm not able to create this very same procedure from PDO...

I absolutely need to be able to create this procedure from my php code (it's a setup part of a bigger program, the first step checks if the procedure exists with

SHOW PROCEDURE STATUS LIKE 'name_of_procedure'

if the procedure doesn't exists, I try (but fail) to create it (with prepare/execute couple of methods).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜