|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-02-05 18:47 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 03:00:01 2025 UTC |
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