Re: Mysql Connector
- From: "Bjorn Abelli" <bjorn_abelli@xxxxxxxxxxxxxxxxxxxxx>
- Date: 3 May 2006 23:32:53 +0200
"Ike" wrote...
Through Java, I am attempting to connect to a MySQL 4.12 server
on a remote computer. I can connect fine via php. I cann connect
fine via Java, through a servlet, when the servlet is on the same
machine (localhost) as the MySQL DB.
Though you're not very clear, it sounds like connections on the same machine
is ok, but not from another, yes?
MySQL need to be configured very strict on who is allowed to access the db.
Any user (even root) must be specifically configured to be allowed from
specific "hosts", or from "any host".
AFAIR, the default configuration is to allow a user only from localhost.
// Bjorn A
Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php
.
- Follow-Ups:
- Re: Mysql Connector
- From: Ike
- Re: Mysql Connector
- References:
- Mysql Connector
- From: Ike
- Mysql Connector
- Prev by Date: Re: Mysql Connector
- Next by Date: Re: Mysql Connector
- Previous by thread: Re: Mysql Connector
- Next by thread: Re: Mysql Connector
- Index(es):
Relevant Pages
|
|