Errore: "mysql_native_password" "Got packets out of order"
Posted by: Francesca Bisceglia
Date: May 16, 2014 12:57PM

When I try to connect to http://localhost:3306/biblio/index, it shows this message:
5.6.16�N���,|NR/1Ke�ÿ÷�€����������;6;fp$Z{}!)K�mysql_native_passw ord�!��ÿ„#08S01Got packets out of order

I'm writing an app with a servlet running on Tomcat,and in this servlet I connect to database in this way:
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/mydb" , "root" ," ");
The same error message compares when I only write :
http://localhost:3306, that it's weird I guess.

I'm using XAMPP with win8,and all the services (Apache,MySQL and Tomcat) are correctly running.

Options: ReplyQuote

Written By
Errore: "mysql_native_password" "Got packets out of order"
May 16, 2014 12:57PM

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.