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 18:09:41 GMT
Thanks for that Richard,
  
  I have to use fedora core 3 but I can use Tomcat 5 and probably should! Cheers for the heads
up.
  
  Alex

Richard Mixon <rnmixon@qwest.net> wrote:  Jan,

Tomcat runs just fine on Linux. Use the most recent version (Fedora Core 4
is fine, or OpenSuse 10, or ...). These should come with a fairly recent
version of Tomcat (5.x or 5.5.x) or the packages should be available.

I prefer to install Tomcat myself on Linux, from a downloaded binary (tar.gz
file) as some of the Linux distributions break things up in various ways,
that I find a bit confusing (though I can also usually see the logic of it
too).

However, why in the world would you be developing with Tomcat 4 - it is two
major versions behind. If you had an existing production version to support,
that would be more understandable.  But you are starting out clean it seems
- there are many security and performance fixes are in Tomcat 5.5.

HTH - Richard


-----Original Message-----
From: ALEX HYDE [mailto:alex.hyde@btinternet.com] 
Sent: Thursday, December 15, 2005 10:46 AM
To: Tomcat Users List
Subject: Re: Antwort: RE: Tomcat JDBC connection with Mysql

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  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.


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




		
---------------------------------
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos.
Get Yahoo! Photos
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message