Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2.2
-
Fix Version/s: None
-
Component/s: Connection
-
Labels:None
-
Environment:windows xp, apache2.2 web server, php5.3.1, doctrine1.2.2, zend framework 1.10.3, mysql 5.1
Description
i'm trying to switch to php5.3.1.
using the same connection as before, mysql://, i get
Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 470
after researching this error, i found out that it is related to the new password in mysql5.
i tried changing the password for the connection, and made sure there is no old_password set in my.ini, without any success.
so i'm trying to connect using mysqli adapter, and now i get this error:
PHP Fatal error: Call to undefined method Doctrine_Adapter_Mysqli::setAttribute() in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 496
how can i connect to mysql5.1 with php5.3, and what is the best connection to pick. mysql or mysqli.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Environment | windows xp, apache2.2 web server, php5.3.1, doctrine1.2.2, zend framework 1.10.3 | windows xp, apache2.2 web server, php5.3.1, doctrine1.2.2, zend framework 1.10.3, mysql 5.1 |
| Description |
i'm trying to switch to php5.3.1. using the same connection as before, mysql://, i get Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 470 after researching this error, i found out that it is related to the new password in mysql5. i tried changing the password for the connection, and made sure there is no old_password section in my.ini, without any success. so i'm trying to connect using mysqli adapter, and now i get this error: PHP Fatal error: Call to undefined method Doctrine_Adapter_Mysqli::setAttribute() in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 496 was anyone able to connect to mysql with Doctrine and php5.3? |
i'm trying to switch to php5.3.1. using the same connection as before, mysql://, i get Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 470 after researching this error, i found out that it is related to the new password in mysql5. i tried changing the password for the connection, and made sure there is no old_password section in my.ini, without any success. so i'm trying to connect using mysqli adapter, and now i get this error: PHP Fatal error: Call to undefined method Doctrine_Adapter_Mysqli::setAttribute() in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 496 how can i connect to mysql5.1 with php5.3, and what is the best driver to pick. mysql or mysqli. |
| Description |
i'm trying to switch to php5.3.1. using the same connection as before, mysql://, i get Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 470 after researching this error, i found out that it is related to the new password in mysql5. i tried changing the password for the connection, and made sure there is no old_password section in my.ini, without any success. so i'm trying to connect using mysqli adapter, and now i get this error: PHP Fatal error: Call to undefined method Doctrine_Adapter_Mysqli::setAttribute() in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 496 how can i connect to mysql5.1 with php5.3, and what is the best driver to pick. mysql or mysqli. |
i'm trying to switch to php5.3.1. using the same connection as before, mysql://, i get Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 470 after researching this error, i found out that it is related to the new password in mysql5. i tried changing the password for the connection, and made sure there is no old_password section in my.ini, without any success. so i'm trying to connect using mysqli adapter, and now i get this error: PHP Fatal error: Call to undefined method Doctrine_Adapter_Mysqli::setAttribute() in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 496 how can i connect to mysql5.1 with php5.3, and what is the best connection to pick. mysql or mysqli. |
| Description |
i'm trying to switch to php5.3.1. using the same connection as before, mysql://, i get Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 470 after researching this error, i found out that it is related to the new password in mysql5. i tried changing the password for the connection, and made sure there is no old_password section in my.ini, without any success. so i'm trying to connect using mysqli adapter, and now i get this error: PHP Fatal error: Call to undefined method Doctrine_Adapter_Mysqli::setAttribute() in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 496 how can i connect to mysql5.1 with php5.3, and what is the best connection to pick. mysql or mysqli. |
i'm trying to switch to php5.3.1. using the same connection as before, mysql://, i get Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 470 after researching this error, i found out that it is related to the new password in mysql5. i tried changing the password for the connection, and made sure there is no old_password set in my.ini, without any success. so i'm trying to connect using mysqli adapter, and now i get this error: PHP Fatal error: Call to undefined method Doctrine_Adapter_Mysqli::setAttribute() in C:\wamp\bin\php\php5.2.9-2\PEAR\Doctrine\lib\Doctrine\Connection.php on line 496 how can i connect to mysql5.1 with php5.3, and what is the best connection to pick. mysql or mysqli. |
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DC-668, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
What is Doctrine_Adapter_Mysqli? Is this your own class?