Skip navigation links

MySQL Forums :: Install & Repo :: mysql_native_password! & Got packets out of order


Advanced Search

mysql_native_password! & Got packets out of order
Posted by: Nick Staresinic ()
Date: June 03, 2011 09:03AM

Problem: When try to run PHP pages from Netbeans project, get following output

H​​​
5.5.9​​​​​:*_$3re(​ÿ÷​​​​€​​​​​​​​​​​1^hou{-jQ5T'm​ysql_native_password!​​​ÿ„​#08S01Got packets out of order

* 'garbage' characters vary
* "H", "5.5.9", "mysql_native_password!", & "Got packets out of order" always same
* PHP pages display properly when switch to Apache Server

***********************
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, able to register MySQL Server at 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 Services window, able to create DBs, tables, & execute SQL commands.

* But when try to use MySQL Server from an NB PHP project (e.g., NB tutorial //netbeans.org/kb/docs/php/wish-list-lesson2.html), I get no connection to the registered MySQL Server, only the output noted above.

* Uninstalled, then re-installed, both NB 7.0 and MAMP, but same problem.

Naturally will appreciate any assistance.

Options: ReplyQuote


Subject Written By Posted
mysql_native_password! & Got packets out of order Nick Staresinic 06/03/2011 09:03AM


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.