Urtzi,

You need to grant access to the tomcat user.  See the section in the GRANT
command in the mysql manual (available online at the www.mysql.com site).
By default, root can connect without a password, but other users need to be
granted access.

You'll need to execute something like:
GRANT ALL PRIVILEGES on *.* to nobody@yourhostname identified by
�nobodyspassword�;

The password is not the unix password - its mysql specific and set by this
command.

I recommend you read up to make sure you're only grant what you need - after
all there's no point running as nobody if it can do everything root can...

Test it by doing
su - nobody
then check that you can connect with the password you've set.

Andy

> -----Original Message-----
> From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]]
> Sent: 16 August 2002 11:04
> To: [EMAIL PROTECTED]
> Subject: Run Tomcat as tomcat user
>
>
>
> Hi !
>
> I am trying to run tomcat as tomcat user. When I start it, it
> seems to start without any problem. I execute some jsp and it
> works fine but when I execute a page tha require to connect to
> mysql database it cant't connect to the database and an empty log
> named something like DCB_1029483253596.log is generated. Running
> tomcat as root I haven't any problem.
>
> �any idea?
>
> Regards,
>
> Urtzi.
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to