Change master to master_host in prepared statement
Posted by: Lee T.L.
Date: June 14, 2016 09:22PM

I am trying to call the following sql query with prepared statement :
change master to master_host=?, master_user=?, master_password=?

but i get the following error after preparing the statement,
You have and error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to user near '?'

Is it not possible to call this sql query with prepared statement?

Options: ReplyQuote

Written By
Change master to master_host in prepared statement
June 14, 2016 09:22PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.