Re: registerDriver()
Posted by: Mark Matthews
Date: May 10, 2005 01:52PM

Sean Breslin wrote:
> I uploaded them to my webhost. I test it from
> there. It's MHer.org. I already have another
> MySQL database running there for a forum, but that
> uses PHP to interface with and I didn't write it's
> code. (Although phpMyAdmin makes generating the
> commands for connecting and querying through PHP
> very easy... One of the reasons I wish I could
> use PHP.)
>
> So in the code, I tell it to connect to
> localhost:3306 because that's where the database
> should be... So I believe that all the files and
> the database are on the same machine. I am,
> however, not at that machine, so I am running the
> files from another computer through the internet.
> Could that be causing the problem? I wouldn't
> think it should...

The applet doesn't run on the machine the database server is (Mher.org), it runs on your local computer, thus localhost in the database URL refers to _your_ computer, not the database server.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
May 09, 2005 07:17PM
May 09, 2005 07:43PM
May 09, 2005 07:56PM
May 09, 2005 08:07PM
May 09, 2005 08:51PM
May 09, 2005 09:04PM
May 10, 2005 11:17AM
May 10, 2005 12:34PM
May 10, 2005 12:59PM
May 10, 2005 01:19PM
May 10, 2005 01:30PM
May 10, 2005 01:44PM
Re: registerDriver()
May 10, 2005 01:52PM
May 10, 2005 02:05PM
May 10, 2005 02:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.