I got the same error:
“5.5.25�O���]j!^8<bZ�ÿ÷�€����������~,]q@,XY6?yd�mysql_native_password�!��ÿ„#08S01Got packets out of order" but mine had slightly different variables.
My solution was to open the preferences box of MAMP and select the "Ports" tab, there I assigned the right ports:
Apache Port 8888
MySQL Port 8889
After this step you can acces the page by: http://127.0.0.1:8889/wordpress/
]]>I found your blog after having installed MAMP to run MySQL through the Netbeans IDE on my MacBook Pro. I ran into a problem for which I haven’t yet had any response from the MySQL, MAMP, & Netbeans forums. I’m posting here in case you might have a solution.
————————————
Problem: When trying to run PHP pages from a Netbeans project, I get following output
H
5.5.9:*_$3re(ÿ÷€1^hou{-jQ5T’mysql_native_password!ÿ„#08S01Got packets out of order
* ‘garbage’ characters (e.g., “$3re(ÿ÷€1^”) vary
* “H”, “5.5.9”, “mysql_native_password!”, “Got packets out of order”, & the error code remain same
* PHP pages DO display properly when I switch to Apache (but my DB is in MySQL)
***********************
MacBook Pro OS X 10.6.7
Netbeans 7.0
Java 1.6.0_24
MAMP 1.9.6
PHP 5.3.5
Running MySQL Server in MAMP at port 3306
In the Netbeans Services window, I’m able to register MySQL Server as localhost:3306 [root] with the following properties:
Host Name: localhost
Port No.: 3306
User Name: root
P/word: root
Admin Property paths…
Admin Tool:/Applications/MAMP/MAMP.app
Start Cmd: /Applications/MAMP/bin/startMysql.sh
Stop Cmd: /Applications/MAMP/bin/stopMysql.sh
* In the Services window, able to create DBs, tables, & execute SQL commands.
* But when I try to use MySQL Server from a NB PHP project (e.g., NB tutorial //netbeans.org/kb/docs/php/wish-list-lesson2.html), I only get the output noted above
* I uninstalled, and then re-installed, both NB 7.0 and MAMP, but with the same problem
Thanks for any assistance.
]]>Thats a pretty decent Mamp set up guide, I used this a while ago and it was damn helpful. Recently I changed the way I use mamp so that I could have my dev sites exactly the same as my live sites, like this:
http://www.mysite.dev
http://www.mysite.com
Here is my guide if it helps any one:
http://www.dangermoose.co.uk/set-up-your-mamp-like-a-dev-king/