-   Linux - Software (
-   -   Connecting to mysql (

webee 01-28-2003 12:35 PM

Connecting to mysql
Hi: I have installed mysql3.23.55 on linux RH7.1. Now mysql is running successfully on my system. When I try connecting thru
java(mysql-connector-java-3.0.1) I am getting an Access Denied error. It says mysql@machinename access denied.
Now i tried from command line: mysql -u mysql -p -h localhost. This works, but when i give:mysql -u mysql -p -h machinename it doesnt work.
Why is that? The user mysql has all priviliges granted. Thanks for any help on this.

markus1982 01-28-2003 01:41 PM

You should check your permission grants ... like users can be allowed only to connect from localhost or from anywhere (in that case a username@"%" would be in the grant line).

If you need more help read up on GRANT

webee 01-30-2003 03:47 PM

Thanks a lot. I got it now.

All times are GMT -5. The time now is 07:37 AM.