Lines Matching refs:link
29 $thread_id = mysql_thread_id($link);
31 if (!($res = mysql_query("SHOW FULL PROCESSLIST", $link)))
32 printf("[002] Cannot get processlist, [%d] %s\n", mysql_errno($link), mysql_error($link));
40 …ind regular connection thread in process list, [%d] %s\n", mysql_errno($link), mysql_error($link));
42 … persistent connection thread in process list, [%d] %s\n", mysql_errno($link), mysql_error($link));
44 if (!mysql_query(sprintf("KILL %d", $pthread_id), $link))
45 …005] Cannot kill persistent connection thread, [%d] %s\n", mysql_errno($link), mysql_error($link));
48 if (!($res = mysql_query("SHOW FULL PROCESSLIST", $link)))
49 printf("[006] Cannot get processlist, [%d] %s\n", mysql_errno($link), mysql_error($link));
63 …ind regular connection thread in process list, [%d] %s\n", mysql_errno($link), mysql_error($link));
88 if (!($link = mysql_connect($myhost, $user, $passwd, true)))
91 mysql_select_db($db, $link);
92 if (!($res = mysql_query("SELECT * FROM test", $link)))
93 … Cannot run query on new regular connection, [%d] %s\n", @mysql_errno($link), @mysql_error($link));
100 mysql_close($link);