I do'nt understand "message from server: "Host '192.168.0. ("JavaMySQL at line 250: SQLException: " + ex_try.getMessage()) You dont need Java, so just click OK to continue the install process. showStatus("ID: " + id + " e-mail: " + e_mail) // only with JDK 6 During database installation, a prompt about Java might appear. Values = "ID: " + id + " e-mail: " + e_mail IDs = new int // increase the number of elements of array IDs by 1 String e_mail = rset.getString("e_mail") String values // declare an array of Strings MAMP server allows the developer to use the MySQL database, one of the most famous. String e_mails // declare an array of Strings Web development, programming languages, Software testing & others. Rset = stmt.executeQuery("SELECT * " + "FROM obj_user") JavaMySQL at line 250: SQLException: null, message from server: "Host '192.168.0.1' is not allowed to connect to this MySQL server"Ĭlass.forName("").newInstance() Ĭonn = DriverManager.getConnection("jdbc:mysql://192.168.0.1:8889/objects_der?user=root&password=root") My Java Applet calling JavaMySQL.jar is giving me the following on Java console: I succeed to access to acces database "object_user" and query my "obj_user" table. With the following php line I have no problem to connect to the MySQL server: MySQL server is MySQL 5.0.19 running on localhost as OS is MacOSX 10.4.8 and Java version is 1.5.0_07 I'm running Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 on port 8888 and mySQL on port 8889 with the predigested MAMP application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |