|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58646 HY000 (3003) Session state error. Not logged in.
Submitted: 2009-04-23 10:42 UTC Modified: 2009-05-14 04:42 UTC
From: php at 4d dot fr Assigned: splanquart (profile)
Status: Not a bug Package: PDO_4D (PECL)
PHP Version: 5.2.6 OS: Mac OS X Server 10.5.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php at 4d dot fr
New email:
PHP Version: OS:


 [2009-04-23 10:42 UTC] php at 4d dot fr
While all parameters are good in the dsn, username and password, PDO_4D return a login error while doing a prepare even if no error is returned while connecting

Reproduce code:

Expected result:
As the parameters are good (even username and password) the prepare() method should success

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-14 04:42 UTC] dams at nexen dot net
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

With the provided code, I get this, which is the expected 

<head><title>test 4D</title></head>
<h1>test 4D</h1>
<h2>Connect to  4D:host=localhost;port=19812;charset=utf-8 
as SQL_User (pwd: SQL_User)</h2>
catch Error PDO : SQLSTATE[42P09] [1105] Failed to 
alterway$ php test.4d.php
<head><title>test 4D</title></head>
<h1>test 4D</h1>
<h2>Connect to  
4D:host=;port=19812;charset=utf-8 as SQL_User 
(pwd: SQL_User)</h2>
<h3>new PDO error info :</h3>
   [0] =>
<h3>new PDO error code :</h3>
<h3>execute error info :</h3>
   [0] => 00000
<h2>fetchAll of the remaining rows in the result set</h2>
<h3>fetchAll error info :</h3>
   [0] => 00000
<h3>fetchAll results :</h3>
   [0] => Array
           [SCHEMA_ID] => 1
           [0] => 1
           [1] => DEFAULT_SCHEMA
           [READ_GROUP_ID] => 15002
           [2] => 15002
           [READ_GROUP_NAME] => SQL_Users
           [3] => SQL_Users
           [READ_WRITE_GROUP_ID] => 15002
           [4] => 15002
           [READ_WRITE_GROUP_NAME] => SQL_Users
           [5] => SQL_Users
           [ALL_GROUP_ID] => 1
           [6] => 1
           [ALL_GROUP_NAME] => <NOBODY>
           [7] => <NOBODY>

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 31 14:01:24 2020 UTC