![]() I'm wondering what I need to do to get around this error. Xampp mysql jdbc driver driver#In the applet I didn't use (), but I did manage to find out the I was getting was: : No suitable driver found on jdbc:mysql://127.0.0.1/ The applet start and everything works until the applet tries to connect to the MySQL database (Xampp) using the following code: String connectionURL = "jdbc:mysql://127.0.0.1/" Ĭonnection = DriverManager.getConnection(connectionURL, "root", "mypassword") The problem is whenever I put the code on my Xampp server, it doesn't work right. I had to set the MySQL-connector-java-5.1.15-bin.jar file as an external library for it, but after doing that it runs perfectly. It's a lot more complicated than that but the point is that the applet runs perfectly in Eclipse when I run it. I made an applet that views data from tables in a MySQL database and lets just say it outputs it. Installing DbSchema Free edition will help to test the database connectivity and the JDBC driver URL.I'd like to preface this question by saying that I'm really new at server setup and programming. Remember the password you set here, it will be requested when connecting to the database as user root.Ĭonnect to MySql using DbSchema Free Edition During installation go for a detailed install,Īnd when you are prompted for the user password check the 'Enable root access from remote machines'.Įnabling this you will be allowed to connect to MySql from another computer. If this didn't help, please try to search the web for tutorials. Here you have to edit the user ( put your user instead of foo ), the IP of the client machine and the root password. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |