How a client side script can connect to MySQL - Ex. Java Applet
From DreamHost
Say you are developing an image uploading script, but in order to reduce server work load (as resizing the huge digital images eat bandwidth and put pressure on the server, specially if the number of images are high) you decide to go for using a Java applet. Now this is a client side operation, and as per DreamHost's pre-defined configuration, you can not specify which computers are connecting to your MySQL database. What can you do in this situation?
To do this, just follow the instructions on this page and put % in the box. This will allow all clients to connect to your database.
There's just one problem: anybody with a Java decompiler can decompile your applet and get your username and password.
This section is looking for contributors.

