Re: Web-enabled desktop applications
- Posted by Dave Probert <zingo at purpletiger.com> Mar 30, 2005
- 459 views
Hi Caleb, Yes, EMySQLib.ew is the one I was referring to. As to the connect error, it could be that the host % (percent) is not set up on the server MySQL database admin for that database. The % host is one for all hosts outside the supplied domains for prescribed users. In other words, when you connect it looks for eg. user[caleb] on host[IP_address] for db[mydatabase] where the host would be your machine's IP address (which on a dialup or adsl might change whenever you connect!) This problem means that a host set up at the server for % covers all IP addresses and then only the Username and Password control the access. Web pages using server-side scripting are considered as 'localhost' to MySQL on that server, so they automatically get access. For remote access the IP address is used and therefore you need the % option configured. That all sounds kinda complicated, but it isn't really - either use whatever control panel application on your web server to manage your MySQL and set us the Host % against your database or talk to your server managers to set it up for you. If there's anything else I can help with then please post a note or email me directly. Note to all Internet Exploder Non-Worshippers out there - can I join you :) Anyone know how to do a similar thing (embed in Eu app) with Firefox????? (Please!!!!!) Cheers, Dave . .. : :: = == == = :: : .. . Server-Side DB driven web sites, Software Development and part-time games developer (but mainly player :)) contact dave_p at purpletiger dot com . .. : :: = == == = :: : .. .