MySQL Forums
Forum List  »  PHP

Re: MYSQL5 PHP5 Upgrade HELL - can't connect to DB
Posted by: Georg Richter
Date: February 15, 2006 10:57AM

can you check the error you get after mysqli_connect?

$mysql= new mysqli("localhost", $user, $passwd, $database);
printf("Error: %s\n", mysqli_connect_error());

Do you get any error when connecting with mysql command line client?

Options: ReplyQuote


Subject
Written By
Posted
Re: MYSQL5 PHP5 Upgrade HELL - can't connect to DB
February 15, 2006 10:57AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.