12-18-2017
Well then. Did you check out what the error suggested? Is your system 64-bit or 32?
Also, did you download the thread attachment or the 'for latest version click here' link?
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Pointing one hard drive name to another disk
--------------------------------------------------------------------------------
I have 2 disk drives - s2d9 & s2d11 on a solaris Unix system
It was mapped so that anything that tried to call s2d9 would be pointed to s2d11 since s2d9 was bad.... (2 Replies)
Discussion started by: andy57s
2 Replies
2. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
3. UNIX for Dummies Questions & Answers
Sorry if this is totally the wrong place to post this but I have a question or something rather thats bugging me. I got a new Dell Inspiron laptop the other day and I was expecting it to have 80G on it, well atleast 70 or so after installation of OS and such but after looking carefully yesterday, I... (8 Replies)
Discussion started by: Ecclesiastes
8 Replies
4. UNIX for Advanced & Expert Users
trying to setup a sata drive using a sata to scsi adaptor
I have a sata 1TB Deskstar that I had setup before and during shipment from a facilty to another, the disk failed. The handling was not great, lots of throwing boxes, etc. I have a new disk from Hitachi (thankyou Hitachi) anyway, I don't... (1 Reply)
Discussion started by: mndavies
1 Replies
5. Solaris
Hi,
Can anyone suggest me any USB Hard Disk Drive which I can connect to Sun Fire V890 and take backup at a quick speed. A test with SolidState USB Hard Drive for backup work was taking writing at 2GB per hour for a 75GB backup.
Regards,
Tushar Kathe (1 Reply)
Discussion started by: tushar_kathe
1 Replies
6. UNIX for Advanced & Expert Users
Any creative ideas on how to wreck / secure clean an hard disk drive before disposal?
dd if=/dev/zero of=/dev/disk_drive?
shred -n whatever -z /dev/disk_drive?
Magnet? (false sense of security)
Fire?
Hammer?
Acid?
Post your thoughts. (10 Replies)
Discussion started by: redoubtable
10 Replies
7. Filesystems, Disks and Memory
Hi Guys,
I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies
8. SCO
Is SATA hard disk is suooprted by SCO OpenServer 5.05? If No, how to couter this problem. If yes, please provide the installation steps. (2 Replies)
Discussion started by: rakeshkumar9919
2 Replies
9. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
10. Solaris
Hi,
What are the initial checks needs to be done while observing hard errors on one of the hard disk drive.
Thanks,
Babu. (1 Reply)
Discussion started by: lbreddy
1 Replies
LEARN ABOUT PHP
mysqli_thread_id
MYSQLI_THREAD_ID(3) 1 MYSQLI_THREAD_ID(3)
mysqli::$thread_id - Returns the thread ID for the current connection
Object oriented style
SYNOPSIS
int$mysqli->thread_id ()
DESCRIPTION
Procedural style
int mysqli_thread_id (mysqli $link)
The mysqli_thread_id(3) function returns the thread ID for the current connection which can then be killed using the mysqli_kill(3) func-
tion. If the connection is lost and you reconnect with mysqli_ping(3), the thread ID will be other. Therefore you should get the thread ID
only when you need it.
Note
The thread ID is assigned on a connection-by-connection basis. Hence, if the connection is broken and then re-established a new
thread ID will be assigned.
To kill a running query you can use the SQL command KILL QUERY processid.
PARAMETERS
o $
link -Procedural style only: A link identifier returned by mysqli_connect(3) or mysqli_init(3)
RETURN VALUES
Returns the Thread ID for the current connection.
EXAMPLES
Example #1
$mysqli->thread_id example
Object oriented style
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s
", mysqli_connect_error());
exit();
}
/* determine our thread id */
$thread_id = $mysqli->thread_id;
/* Kill connection */
$mysqli->kill($thread_id);
/* This should produce an error */
if (!$mysqli->query("CREATE TABLE myCity LIKE City")) {
printf("Error: %s
", $mysqli->error);
exit;
}
/* close connection */
$mysqli->close();
?>
Procedural style
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s
", mysqli_connect_error());
exit();
}
/* determine our thread id */
$thread_id = mysqli_thread_id($link);
/* Kill connection */
mysqli_kill($link, $thread_id);
/* This should produce an error */
if (!mysqli_query($link, "CREATE TABLE myCity LIKE City")) {
printf("Error: %s
", mysqli_error($link));
exit;
}
/* close connection */
mysqli_close($link);
?>
The above examples will output:
Error: MySQL server has gone away
SEE ALSO
mysqli_kill(3).
PHP Documentation Group MYSQLI_THREAD_ID(3)