문제

I'm trying to establish a connection with Jaspersoft Studio to a MySQL database.

Jaspersoft Studio on (Windows 8) and MySQL is running on a virtual machine with openSUSE on the same hardware.

jdbc:mysql://192.168.178.27:3306/icinga (User and pw are given and correct)
The Error: javaSQLException Access denied for user 'icinga@MyPC.frist.box'

Because I don't have a bind-address line in my /etc/my.cnf I think the database is ready for remote access.

I can access the database with 192.168.178.27/phpMyAdmin and the login data.

도움이 되었습니까?

해결책

Since you are connecting from a 'remote' host, are you sure that you have the user "icinga" granted rights to connecting from other hosts than local? It's correct that you can use phpmyadmin, because that's running on the same machine as the databases server and is interpreted by the database server as 'localhost'.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top