Disable firewall and/or configure firewall/proxy to allow/forward the port.Restart the DB and fix your code accordingly that it closes connections in finally.Verify if mysqld is started without the -skip-networking option.Refresh DNS or use IP address in JDBC URL instead.To solve the one or the other, follow the following advices: Something in between Java and DB is blocking connections, e.g.DB server doesn't accept TCP/IP connections.Port number is missing or wrong in JDBC URL.Go to Menu: File -> New -> Project From Existing Source. In this article, Ill show you step by step guide to connect to the Microsoft SQL Server database using Eclipse. Unzip the project file we downloaded at Step 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |