The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. But if I try to enter an external IP adress to my server in the same previous code don't worry the MySQL port is open to the internet and my server is listening to any IP , use my android phone over an LTE internet connection, I get a different error:. Up until now, none of my research has helped me out.
Does anyone has any idea of where my problem could come from? Thanks in advance :. The general misconception among Java developers who is moving to Android world is that everything that has been created for old good Java can be used on Android as well. Since Android usage of Java has violated the major Java principle, "write once, run everywhere", it's simply not true. The common advice - each time when you try to use a 3rd party JAR with Android, check if it's compatible with the latter or if there is a port, which is specific for Android.
Generally, the recommended approach is to post to a web service, and allow the web service to perform the required actions on the database.
However, there is an open source library on GitHub which allows you to connect directly to the database server without the need of a web service. The library is fairly new and has been tested against MySQL 5. It is possible, if you use the correct connector.
I use the connector 3. Stack Overflow for Teams — Collaborate and share knowledge with a private group. By default, MySQL enforces a stricter password policy on database passwords. If you prefer to set your own passwords outside of this policy, you must lower the password policy. Please complete the following steps:. Send Feedback. Privacy Policy Terms of Use. Required: page refresh 5. Pages Blog. Page tree. Browse pages. More VLC media player 3.
More CCleaner 5. CCleaner is a freeware system optimization, privacy and cleaning tool. CCleaner is the number-one tool for cleaning your Windows PC. Keep your privacy online and offline, and make your computer faster and more secure.
Descriptions containing mysql connector java 5. More WinRAR 6. WinRARs main features are very strong general and multimedia compression, solid compression, archive protection from damage, processing … more info Audio chipsets from Realtek are used in motherboards from many different manufacturers.
Whether this change is good or bad is yet Read more…. Table of Contents. Categories: Popular lifehacks. Related Posts. Popular lifehacks Best Meetme alternatives mobile apps MeetMe is a social chat app primarily designed to assist meet individuals domestically for relationship functions.
0コメント