close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

MAMP and MySQLi Server Behaviors

Thread began 2/28/2018 7:05 pm by Tom | Last modified 3/01/2018 1:13 pm by Tom | 272 views | 2 replies


MAMP and MySQLi Server Behaviors

When I recently updated my office Mac, I got PHP7. Nice, for most things! I have a few sites that need php5.6, so I got a copy of MAMP and set it up for PHP5.6. I can't get WA MySQLi Behaviors to connect to a database. I first tried copying existing sites into the MAMP htdocs folders, creating the databases and simply editing the connections file. I then tried creating a brand new site and creating a connection from scratch. When I try to "Select" a specific database from the Connection window I get a warning that

"MySQL Connection Error#: 2002
php_network_getaddresses: getaddrinfo failed: codename nor servname provided, or not known"

I have wordpress, cart weaver, and site lock all working fine on MAMP. So, I think it is fine.

I have tried both Dynamic MySQLi and MySQL Connection options. For server I have tried both http://localhost:8889 and http://localhost:8888. I have MAMP set to the defaults (Apache port 8888, MySQL port 8889).

Any thoughts?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...