Jump to content
Larry Ullman's Book Forums

edraconus

Members
  • Posts

    2
  • Joined

  • Last visited

edraconus's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I couldn't find this mentioned before, so sorry if it has been asked. After using the mysql and mysqli functions for connecting too the database and for the past 2 years the PDO class, I decided to use the MySQLi class. Following the examples in the book I keep getting the following error -: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: No such host is known. I am running the script on my Apache Friends xampp server with localhost. The script runs perfectly ok using the mysqli functions and the pdo class. I have googled the error and have performed the various checks suggested in a few of the posts, but still get the same error. PHP version 5.4.7, MYSQL version 5.5.27
×
×
  • Create New...