ID:               38879
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jsbangasan at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Database Functions
 Operating System: Windows
 PHP Version:      4.4.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

And please change your database password or tell your provider to
change it!


Previous Comments:
------------------------------------------------------------------------

[2006-09-19 12:42:58] jsbangasan at yahoo dot com

Description:
------------
require_once "DB.php";
$host = 'mysql.positive-internet.com';
$host = 'testhost.com';
$user = 'user1';
$pass ='mjasds';
$db_name ='dbtest';

$dsn = "mysql://$user:[EMAIL PROTECTED]/$db_name";
$conn = &DB::connect($dsn);

if (DB::isError($conn)) 
{    
    echo 'Standard Message: ' . $conn->getMessage() . "\n";
    echo 'Standard Code: ' . $conn->getCode() . "\n";
    echo 'DBMS/User Message: ' . $conn->getUserInfo() . "\n";
    echo 'DBMS/Debug Message: ' . $conn->getDebugInfo() . "\n";
}

Reproduce code:
---------------
require_once "DB.php";
$host = 'mysql.positive-internet.com';
$host = 'testhost.com';
$user = 'user1';
$pass ='mjasds';
$db_name ='dbtest';

$dsn = "mysql://$user:[EMAIL PROTECTED]/$db_name";
$conn = &DB::connect($dsn);

if (DB::isError($conn)) 
{    
    echo 'Standard Message: ' . $conn->getMessage() . "\n";
    echo 'Standard Code: ' . $conn->getCode() . "\n";
    echo 'DBMS/User Message: ' . $conn->getUserInfo() . "\n";
    echo 'DBMS/Debug Message: ' . $conn->getDebugInfo() . "\n";
}

Expected result:
----------------
would set a $conn as a usable connection object for mysql database

Actual result:
--------------
Standard Message: DB Error: extension not found Standard Code: -25
DBMS/User Message: [DB Error: extension not found] **
mysqli://user1:[EMAIL PROTECTED]/dbtest DBMS/Debug Message: [DB
Error: extension not found] **
mysqli://user1:[EMAIL PROTECTED]/dbtest


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38879&edit=1

Reply via email to