tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ALEX HYDE <alex.h...@btinternet.com>
Subject Re: Antwort: RE: Tomcat JDBC connection with Mysql
Date Thu, 15 Dec 2005 17:45:59 GMT
Hi All,
  
  I have been developing a system using Tomcat on my Windows box at home.  I am now ready
to deploy it to a server. I was thinking of using Fedora  Core because it is cheaper and I
heard it has a fiarly good reputation.  Could anyone pass on any experiences of running Tomcat
4 on Linux or  even Fedora? I am starting with a clean box and will need to add java  and
tomcat. COUld anyone point me in the dircetion of nay good  tutorials on this?
  
  Thanks all

Jan Behrens <Jan.Behrens@offis.de> wrote:  look here --> 
http://dev.mysql.com/doc/refman/4.1/en/connection-access.html

rtfm ;)

marju jalloh  schrieb am 12.12.2005 13:33:54:

> But how to Grant permission to an ip host
> 
> 
> Karthik  wrote:  hI
> 
> tHE PROBLEMS IS PRESENT WITHIN THE mysql SERVER,U NEED TO GIVE 
PERMISSION TO
> THE ip HOST U ARE USING
> 
> TRY USING THE GRANT PERMISSION AND USE THE SAME,BUT U HAVE TO FLUSH OUT 
ALL
> acl PREVELIAGES AVALIABEL IN MYSQL DB
> 
>    USE A FRONT END LIKE MYSQL FRONT TO DO THIS
> 
> 
> 
> HOPE THIS HELPS.
> 
> 
> 
> 
> WITH REGARS
> kARTHIK
> 
> 
> 
> -----Original Message-----
> From: marju jalloh [mailto:jallohmarju@yahoo.com]
> Sent: Monday, December 12, 2005 4:53 PM
> To: Tomcat Users List
> Subject: Tomcat JDBC connection with Mysql
> 
> 
>  I can`connect to my database with via  servlet. The connection works 
well
> in PHP but not with servlet. I have  googled but no solution.
> 
>   this is my error page I got
> 
>   java.sql.SQLException: Data source rejected establishment of 
connection,
> message from server: "Host 'localhost.localdomain' is  not allowed to
> connect to this MySQL server"
>       at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:650)
>       at com.mysql.jdbc.Connection.createNewIO(Connection.java:1808)
>       at com.mysql.jdbc.Connection.(Connection.java:452)
>       at
> 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
>       at java.sql.DriverManager.getConnection(DriverManager.java:525)
>       at java.sql.DriverManager.getConnection(DriverManager.java:171)
>       at Liep.doGet(Liep.java:30)
>   ...
>   ...
>   Can anyone help or give me a pointer to a website
> 
>   Byfour
> 
> 
> 
> ---------------------------------
> Yahoo! Shopping
>  Find Great Deals on Holiday Gifts at Yahoo! Shopping
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> 
> 
> ---------------------------------
> Yahoo! Shopping
>  Find Great Deals on Holiday Gifts at Yahoo! Shopping 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




		
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message