MySQL Forums
Forum List  »  PHP

Re: MySQL Remote Connection
Posted by: Peter Brawley
Date: May 31, 2018 01:32PM

Enable error reporting in the PHP script, eg with ...

ini_set( "display_errors", "1" );

... and add error handling to every mysql call eg ...

$conn = mysqli_connect(...) or exit( mysqli_connect_error() );

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL Remote Connection
May 31, 2018 01:32PM


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.