You need to set up table permissions.
You can restrict read,write, update, delete permissions through phpmyadmin, which really is the best and easiest way of doing this.
Also your mysql port needs to be open to access from outside the localhost if you wish to let then access the tables from a webpage not on your server, if your isp will allow this at all!
Kevin