What hostname are you providing JSP?  If you want to replicate the behaviour
of your mysql command, it needs to be "localhost" or 127.0.0.1, not the
network name of your server.

If you are using the server name, then you need to use mysql command the
same way, too:
./mysql -u root -h servername -p


Tom Haapanen
[EMAIL PROTECTED]

-----Original Message-----
From: gokeeper [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 29 July, 2001 10:31
To: [EMAIL PROTECTED]
Subject: mysqld under FreeBSD


hi all

i am running mysql 3.23.40 and tomcat 3.2.3 on FreeBSD

when i try to connect to the local mysql server in jsp using mm driver

it says:

Server configuration denies access to data source

the user&pass i provide is right
i can connect to local mysqld use ./mysql -u root -p
also php+mysql works well.


BTW:the same script can connect to another Mysql server running under
windows2000,so i think this is mysqld's problem


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to