You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ashok kumar <as...@gmail.com> on 2006/02/16 15:09:34 UTC

Regarding Struts- Mysql Connection.

user@struts.apache.org

sub: Regarding Struts- Mysql Connection.
Hi everyone,

         I am beginner for struts.now I have developed one simple
application using Struts 1.24 with Mysql 4.1.I have created all the tables
successfully.and Program is also correct.And I have copied the "
mm.mysql-2.0.6.jar" into lib Folder.But it  Shows some database exceptions.

             Is there any need to configure the  Database in Control Panel
->Administrative tools -> (DataSource) like MS Access.Plz give me solution.

Thanks & Regards,
ashok.

[OT] Re: Regarding Struts- Mysql Connection.

Posted by Dave Newton <ne...@pingsite.com>.
Ashok kumar wrote:
>          I am beginner for struts.now I have developed one simple
> application using Struts 1.24 with Mysql 4.1.I have created all the tables
> successfully.and Program is also correct.And I have copied the "
> mm.mysql-2.0.6.jar" into lib Folder.But it  Shows some database exceptions.
>   
http://www.catb.org/~esr/faqs/smart-questions.html
> Is there any need to configure the  Database in Control Panel
> ->Administrative tools -> (DataSource) like MS Access.Plz give me solution.
>   
If you need help in setting up your MySQL instance you would be better
served by looking at either the MySQL documentation or a MySQL
newsgroup/mailing list.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Regarding Struts- Mysql Connection.

Posted by Dharmendra Singh <ni...@gmail.com>.
Hi dear

there is no need to specify in any where
start MySql
step 1
just paste   *.jar file in lib directory.
step 2
specify all elements(driverClass ,url ,no of connection , user id, password)
and full path of database in struts-config.xml .
Now you can connect in Action Classes directely by creating DataSource
Object.

Try it if You r not able to do so.
tell me

Regards
Dharmendra Singh


On 2/17/06, C. Grobmeier <gr...@possessed.de> wrote:
>
> >          I am beginner for struts.now I have developed one simple
> > application using Struts 1.24 with Mysql 4.1.I have created all the
> tables
> > successfully.and Program is also correct.And I have copied the "
> > mm.mysql-2.0.6.jar" into lib Folder.But it  Shows some database
> exceptions.
> >
> >              Is there any need to configure the  Database in Control
> Panel
> > ->Administrative tools -> (DataSource) like MS Access.Plz give me
> solution.
>
> No, there isn't such a need.
> You have just to start mysql. JDBC should do the rest. If you want help
> you should place the exceptions within your mail.
>
> - Chris.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Regarding Struts- Mysql Connection.

Posted by "C. Grobmeier" <gr...@possessed.de>.
>          I am beginner for struts.now I have developed one simple
> application using Struts 1.24 with Mysql 4.1.I have created all the tables
> successfully.and Program is also correct.And I have copied the "
> mm.mysql-2.0.6.jar" into lib Folder.But it  Shows some database exceptions.
> 
>              Is there any need to configure the  Database in Control Panel
> ->Administrative tools -> (DataSource) like MS Access.Plz give me solution.

No, there isn't such a need.
You have just to start mysql. JDBC should do the rest. If you want help 
you should place the exceptions within your mail.

- Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org