English 中文(简体)
复制(Mysql)的 Ski片说明? 本届会议可进行或可进行双亲伐木。]
原标题:Skip a sql statement from replication (Mysql) ? [ Disables or enables binary logging for the current session ]
  • 时间:2011-05-11 11:04:11
  •  标签:
  • mysqli

我想在表格上插入一些字句,但我不想复制,而不会影响复制进程。

最佳回答

SET sqllog_bin={0} Disables或使本届会议的双亲记录(sql_log_bin为会议变量)如果客户有“SUPER”特权的话。 如果客户没有这种特权,该说明就没有错误。

问题回答

暂无回答




相关问题
Mysqli abstraction, fetching arrays from prepared statements

Lately I ve stumbled upon an error in a lib that used to work just fine, and I ll be damned if I can figure out where it is. The code sample is below, and I apologize for the debug stuff that s ...

Extending the MySQLi class

I want to be able to make classes which extend the MySQLi class to perform all its SQL queries. $mysql = new mysqli( localhost , root , password , database ) or die( error connecting to the ...

PHP: Injection protection using prepared statements

I am familiar with using PHP to perform mySQL queries. However, I have been using reg exps as protection against injection attacks. After reading several questions/answers here on SO, I ve decided to ...

Problems with my prepared statement update

$query = "UPDATE kids_entry SET entries=? WHERE parentsemail=?"; $stmt1 = mysqli_prepare($connection, $query); mysqli_stmt_bind_param($stmt1, is ,$entries,$parentsemail); mysqli_execute($stmt1); if(...

Returning specific rows using prepared statements

I have a problem where my prepared statement appears to only be returning the number of rows returned rather than the value of the row. Below is my code. I did try google for this but it doesn t tell ...

only list jobs if current time > expiry time (php mysqli)

I am trying to list out all records from a database that have not expired. i have a jobs listing site being developed, i have code to grab all the active job details from the database and list out. ...

Getting list of items in mysqli query

I currently have a list of things to update in the given mysqli query: $insert = mysqli_query($db,"UPDATE `tbl_perms` SET `1` = " . mysqli_real_escape_string($db,$_POST[ permsA_1 ]) . " , `2` = ...

热门标签