Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

import database

 
vijay joseph
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have an project done using mysql database and i want to run in my machine how to configure that data base to run in my machine, my project done using tomcat. i copy the project to webapps folder and now have to configure the database how to do that please help thnks in advance
 
krishnamoorthy kitcha
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

First check with jdbc connection jar files which is provided by mysql

and check with your database, table and all were using in the existing project , The same will reflect in your machine.

Like database name,loginname and password

If your not clear , can you tell me where do you face the problem ?
Please explain in detail.
 
vijay joseph
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
actually iam new to mysql and have an project which is developed in seperate machine using tomcat and mysql database, now i want to run in my machine,
so idone the following steps
1.copy the project folder into the webapps in tomcat directory
2.create the database database name;
3: Now Type the command
use database name;
4: Now type the command
\. healthman.sql(it is already in the project sql file)


when i enter the username password
it is showing the error
error was:

HTTP Status 404 - /healthman/ValidateUser
type Status report

message /healthman/ValidateUser

description The requested resource (/healthman/ValidateUser) is not available.
Apache Tomcat/5.5.23

please let me know
how to connect my data base with existing project database
[ September 27, 2007: Message edited by: vijay joseph ]
 
krishnamoorthy kitcha
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

what is your Tomcat port number default is 8080

just ping from your browser

http://localhost:8080/healthman/ValidateUser

if it is run properly, everything should be fine

or else there is some problem

404 showed only when particular projects not avilable.

Try to put your projects webapps/root/yourproject

Then try and tell me your feedback.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic