how execute mysql command DELIMITER

Posted by user5332 on Pro Webmasters See other posts from Pro Webmasters or by user5332
Published on 2011-03-15T07:11:35Z Indexed on 2011/03/15 8:22 UTC
Read the original article Hit count: 274

Filed under:
|

hi, I have huge problem (for me)

I need from PHP execute mysql command DELIMITER |

but mysql_query fails on error... and I found that mysql_query doesn't support usage of DELIMITER, because this command may be working only in mysql console

but when I open phpMyAdmin ... is there at SQL tab an option to change DELIMITER and it works... but I don't know how... could you help me? who is possile to change delimiter from PHP?

I need it to do before CREATE TRIGGER ... that uses several ; that may not be interpreted like command end

© Pro Webmasters or respective owner

Related posts about php

Related posts about mysql