aspose file tools*
The moose likes Linux / UNIX and the fly likes Tomcat and MySQL on Ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Tomcat and MySQL on Ubuntu" Watch "Tomcat and MySQL on Ubuntu" New topic
Author

Tomcat and MySQL on Ubuntu

Arjun Bajaj
Greenhorn

Joined: Apr 21, 2010
Posts: 13
hey everyone,

i just ordered my book on JSP and Serverlets... The book explains how to install and run tomcat and mysql on windows... but not with linux...

i tried installing the stuff with ubuntu... but it didn't work properly...

tomcat and jdk now work... i can access my server at localhost:8080

but mysql is not working with tomcat... i dont know how to create a db and do something in a db...
i have installed mysql, mysql query browser and mysql admin in ubuntu...

can anyone help me to run mysql with tomcat...

thnx.....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61616
    
  67

Please take the time to choose an appropriate forum for your posts. This forum is for questions on JSP. For more information, please click this link ⇒ CarefullyChooseOneForum.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9503
    
    2

Installing MySQL server should be easy. Just visit the MySQL site and download the necessary files and install it as you would like any other software. Get SqurrilSQL client and access the MySQL server. It is actually pretty easy.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Joe Harry wrote:Installing MySQL server should be easy.

OP said he has MySql installed and working. But he doesn't know how to create a database.


That is done using
then to set the permissions, grants, etc. on the foo database. Then to create the tables.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat and MySQL on Ubuntu