php.net |  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
 [2009-04-23 10:42 UTC] php at 4d dot fr
Description:
------------
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:
---------------
http://130.60.74.125/test4d.phps

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

Actual result:
--------------
http://130.60.74.125/test4d.php

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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 http://pecl.php.net/support.php 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 
output.



<html>
<head><title>test 4D</title></head>
<body>
<h1>test 4D</h1>
<pre>
<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 
authenticate.</pre></body></html>AlterWayConsulting:~ 
alterway$ php test.4d.php
<html>
<head><title>test 4D</title></head>
<body>
<h1>test 4D</h1>
<pre>
<h2>Connect to  
4D:host=130.60.74.125;port=19812;charset=utf-8 as SQL_User 
(pwd: SQL_User)</h2>
<h3>new PDO error info :</h3>
Array
(
   [0] =>
)
<h3>new PDO error code :</h3>
<h3>execute error info :</h3>
Array
(
   [0] => 00000
)
<h2>fetchAll of the remaining rows in the result set</h2>
<h3>fetchAll error info :</h3>
Array
(
   [0] => 00000
)
<h3>fetchAll results :</h3>
Array
(
   [0] => Array
       (
           [SCHEMA_ID] => 1
           [0] => 1
           [SCHEMA_NAME] => DEFAULT_SCHEMA
           [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>
       )

)
</pre></body></html>
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jul 12 21:01:25 2020 UTC