ID: 40366 User updated by: anghelcata at yahoo dot com -Summary: re Reported By: anghelcata at yahoo dot com -Status: Bogus +Status: Closed Bug Type: MySQL related Operating System: windows xp PHP Version: 5.2.0 New Comment:
Dear Tony , I figured out the problem. The problem was that the php 5.2.0 installer did not wright the php.ini file corectly. These two lines : upload_tmp_dir="C:\DOCUME~1\catalin\LOCALS~1\Temp\php\session" session.save_path="C:\DOCUME~1\catalin\LOCALS~1\Temp\php\upload" it generates the problem. I comment that lines and all problems gone out!! Best regards ing. Catalin Anghel Previous Comments: ------------------------------------------------------------------------ [2007-02-05 19:11:13] anghelcata at yahoo dot com Dear Tony2001 at ... The problem apears when I upgarde from PHP 5.1.2 to PHP 5.2.0. The connection to mySQl server works great. The "mysql_connect" function seems to be the source of the error. I have tried all possible connection to mySQl. Thanks for Your support!!! AC ------------------------------------------------------------------------ [2007-02-05 19:03:14] [EMAIL PROTECTED] MySQL problems are noway PHP bugs. Please report them to MySQL developers or better find a support forum and I'm sure you'll figure it out. ------------------------------------------------------------------------ [2007-02-05 18:52:42] anghelcata at yahoo dot com Hey !! You don't understand ?? In PHP 5.1.2 it works great!!! In PHP 5.2.0 it's crash!!!!!!!!!!!!!!!!!!!!!!!!!!!! ------------------------------------------------------------------------ [2007-02-05 18:49:39] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2007-02-05 18:47:31] anghelcata at yahoo dot com Description: ------------ I HAD AN ERROR MESS WHEN i TRY TO CONNECT TO MYsql DATABASE This since I had upgrade from PHP 5.1.2 to PHP 5.2.0 Best Regards ing. Catalin Anghel Reproduce code: --------------- I have this script : <?php $result = mysql_connect("localhost", "root", "axa") or die("Eroare de conectare la MySQL: " . mysql_error()); mysql_select_db("evenimente", $result); ?> And the result : error 1045 ... Note thet on PHP 5.1.2 work fine !! Expected result: ---------------- a connection to my databese Actual result: -------------- error 1045 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40366&edit=1