note 65512 added to ref.pdo-odbc.connection
| From: | php-general at lists dot php dot net | Date: | Tue, 02 May 2006 14:57:51 +0000 |
| Subject: | note 65512 added to ref.pdo-odbc.connection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110369@lists.php.net to get a copy of this message | ||
On MS SQL Server there is a convenient way to help troubleshooting database server performance
problems is to use the APP attribute, like this:
<?php
$dsn = 'DRIVER=FreeTDS;SERVERNAME=server1;DATABASE=testdb;APP=My PHP
Application;UID=user;';
?>
This will show the "My PHP Application" text in ProgramName column of the sp_who2
procedure in MS SQL Server.
----
Server IP: 66.163.161.117
Probable Submitter: 66.250.141.2
----
X-Spam-Status: No, hits=3.8 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
UPPERCASE_25_50 autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.pdo-odbc.connection.php
Edit -- http://master.php.net/note/edit/65512
Del: integrated -- http://master.php.net/note/delete/65512/integrated
Del: useless -- http://master.php.net/note/delete/65512/useless
Del: bad code -- http://master.php.net/note/delete/65512/bad+code
Del: spam -- http://master.php.net/note/delete/65512/spam
Del: non-english -- http://master.php.net/note/delete/65512/non-english
Del: in docs -- http://master.php.net/note/delete/65512/in+docs
Del: other reasons-- http://master.php.net/note/delete/65512
Reject -- http://master.php.net/note/reject/65512
Search -- http://master.php.net/manage/user-notes.php