Sponsored Content
Special Forums IP Networking Networking Configuration for between UNIX and Windows OS Post 39165 by rbbarrera on Thursday 7th of August 2003 11:40:51 PM
Old 08-08-2003
OK. My server is running UNIX and all of my workstations are running with Windows Operating System, what im looking for is the info how to configure its network.

thanks.
 

9 More Discussions You Might Find Interesting

1. IP Networking

Networking UNIX with WINDOWS

I am not that great with unix yet, We use them to run our test equipnemt for work. I am now trying to set them all up on the same network (hub) Is there a way that you can make the Windows unit see the Unix Box? I can only transfer file through a FTP program from the Unix to windows. ( This all... (2 Replies)
Discussion started by: jrb22250
2 Replies

2. IP Networking

troubles networking Windows machines to RH7.1 Linux

i hear everyone talking about this SAMBA "service" that comes with Linux distros...im having no luck getting this to work, neither one of the boxes on the network sees each other. im only an intermediate level user of Linux...Networking with Windows machines is relatively new to me, so you can... (3 Replies)
Discussion started by: fuji250
3 Replies

3. UNIX for Dummies Questions & Answers

Networking a SCO Unix box with a windows lan

Hi there! We have a SCO UNIX box that uses a bunch of dumb terminals. We also have a workgroup of 5 stations Is there a way that we can network the UNIX box to the workgroup for dumb terminal.. A novice would think you could TCP the UNIX machine through a hub and use hypertermal as a dumb... (6 Replies)
Discussion started by: huilai
6 Replies

4. UNIX for Dummies Questions & Answers

Networking Linux 2 windows server

How do i network my linux 7 machine to a windows 98 server.I can ping them but how do i see them in explorer and how can i surf in netscape on my linux machine? (3 Replies)
Discussion started by: perleo
3 Replies

5. IP Networking

networking linux to windows server

I have a linux 7 machine and i want to able to connect it to my windows 98 server.What do i do.They can ping each other but how do i make them see each other e.g be able to copy and send files to each other and surf??? how do i set up netscape to connect to my servers web server??? (2 Replies)
Discussion started by: perleo
2 Replies

6. UNIX for Dummies Questions & Answers

Mandrake and Windows XP networking

I have a main computer which is running windows xp and has my internet connection. I also have my laptop which is running mandrake 9.0. I am completely new to lunix and was wondering how to network the two together so i can share my modem (can't afford broadband yet) In windows xp there were no... (1 Reply)
Discussion started by: kickyr
1 Replies

7. UNIX for Dummies Questions & Answers

Networking unix & windows

I have very basic question: I have 2 windows sytem & 1 Unix system & wanted to put all three system into one network to each other. what kind of other hardware I need? like cable , router? can anybody tell me the configuration? like how to connect to external hardware to put into network? ... (9 Replies)
Discussion started by: kar1
9 Replies

8. Cybersecurity

Linux and Windows Configuration Security

Hi, I have the following situation and proposed solution: SITUATION I have a notebook computer. The manufacturer ships the hardware with a Windows OS (either XP Pro, Vista or Windows 7). They provide support only for a Windows OS. Also, I am not sure how fuss-free it is to use any Linux... (0 Replies)
Discussion started by: Hanz
0 Replies

9. Linux

Linux networking configuration

I have a question concerning default gateways in RHEL. In Linux, the default gateway does not have to be associated with a specific interface - when you look at your routing table with route -n, your default gateway can be associated with the default route on the last line, and doesn't have to be... (0 Replies)
Discussion started by: rojizo
0 Replies
MYSQLND_MS_GET_LAST_USED_CONNECTION(3)					 1				    MYSQLND_MS_GET_LAST_USED_CONNECTION(3)

mysqlnd_ms_get_last_used_connection - Returns an array which describes the last used connection

SYNOPSIS
array mysqlnd_ms_get_last_used_connection (mixed $connection) DESCRIPTION
Returns an array which describes the last used connection from the plugins connection pool currently pointed to by the user connection handle. If using the plugin, a user connection handle represents a pool of database connections. It is not possible to tell from the user connection handles properties to which database server from the pool the user connection handle points. The function can be used to debug or monitor PECL mysqlnd_ms. PARAMETERS
o $connection - A MySQL connection handle obtained from any of the connect functions of the mysqli, mysql or PDO_MYSQL extensions. RETURN VALUES
FALSE on error. Otherwise, an array which describes the connection used to execute the last statement on. Array which describes the connection. +---------------+--------------------------------------+---+ | Property | | | | | | | | | Description | | | | | | | | Version | | | | | | +---------------+--------------------------------------+---+ | | | | | scheme | | | | | | | | | Connection scheme. Either | | | | tcp://host:port or | | | | unix://host:socket. If you want to | | | | distinguish connections from each | | | | other use a combination of scheme | | | | and thread_id as a unique key. Nei- | | | | ther scheme nor thread_id alone are | | | | sufficient to distinguish two con- | | | | nections from each other. Two | | | | servers may assign the same | | | | thread_id to two different connec- | | | | tions. Thus, connections in the pool | | | | may have the same thread_id. Also, | | | | do not rely on uniqueness of scheme | | | | in a pool. Your QA engineers may use | | | | the same MySQL server instance for | | | | two distinct logical roles and add | | | | it multiple times to the pool. This | | | | hack is used, for example, in the | | | | test suite. | | | | | | | | Since 1.1.0. | | | | | | | | | | | host | | | | | | | | | Database server host used with the | | | | connection. The host is only set | | | | with TCP/IP connections. It is empty | | | | with Unix domain or Windows named | | | | pipe connections, | | | | | | | | Since 1.1.0. | | | | | | | | | | | host_info | | | | | | | | | A character string representing the | | | | server hostname and the connection | | | | type. | | | | | | | | Since 1.1.2. | | | | | | | | | | | port | | | | | | | | | Database server port used with the | | | | connection. | | | | | | | | Since 1.1.0. | | | | | | | | | | |socket_or_pipe | | | | | | | | | Unix domain socket or Windows named | | | | pipe used with the connection. The | | | | value is empty for TCP/IP connec- | | | | tions. | | | | | | | | Since 1.1.2. | | | | | | | | | | | thread_id | | | | | | | | | Connection thread id. | | | | | | | | Since 1.1.0. | | | | | | | | | | | last_message | | | | | | | | | Info message obtained from the | | | | MySQL C API function mysql_info(). | | | | Please, see mysqli_info(3) for a | | | | description. | | | | | | | | Since 1.1.0. | | | | | | | | | | | errno | | | | | | | | | Error code. | | | | | | | | Since 1.1.0. | | | | | | | | | | | error | | | | | | | | | Error message. | | | | | | | | Since 1.1.0. | | | | | | | | | | | sqlstate | | | | | | | | | Error SQLstate code. | | | | | | | | Since 1.1.0. | | | | | | +---------------+--------------------------------------+---+ NOTES
Note mysqlnd_ms_get_last_used_connection(3) requires PHP >= 5.4.0 and PECL mysqlnd_ms >> 1.1.0. Internally, it is using a mysqlnd library C call not available with PHP 5.3. EXAMPLES
The example assumes that myapp refers to a plugin configuration file section and represents a connection pool. Example #1 mysqlnd_ms_get_last_used_connection(3) example <?php $link = new mysqli("myapp", "user", "password", "database"); $res = $link->query("SELECT 1 FROM DUAL"); var_dump(mysqlnd_ms_get_last_used_connection($link)); ?> The above example will output: array(10) { ["scheme"]=> string(22) "unix:///tmp/mysql.sock" ["host_info"]=> string(25) "Localhost via UNIX socket" ["host"]=> string(0) "" ["port"]=> int(3306) ["socket_or_pipe"]=> string(15) "/tmp/mysql.sock" ["thread_id"]=> int(46253) ["last_message"]=> string(0) "" ["errno"]=> int(0) ["error"]=> string(0) "" ["sqlstate"]=> string(5) "00000" } PHP Documentation Group MYSQLND_MS_GET_LAST_USED_CONNECTION(3)
All times are GMT -4. The time now is 12:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy