Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection error to a host other than localhost #3118

Closed
afls opened this issue Aug 17, 2017 · 12 comments
Closed

Connection error to a host other than localhost #3118

afls opened this issue Aug 17, 2017 · 12 comments

Comments

@afls
Copy link

afls commented Aug 17, 2017

JabRef version 3.8.2 on Windows 7 (64 bit)

Hello,
using "Connect to shared database" to connect to MySQL on a host that is not localhost results to a "Connection error" message: "Access denied for user 'db@local-PC-name.de' (using password:YES)".

The menu "Connect to shared database" does not use the host name (server name) entered into the text field but always uses the local PC name. The same error message also occurs then entering not the host name but the IP of the server.

I hope that anybody can help or fix the problem, since using a shared database only at localhost does not make sense in a team with many users.

Regards, afls

@stefan-kolb
Copy link
Member

@koppor Can you reproduce the behavior?

@koppor
Copy link
Member

koppor commented Dec 21, 2017

I usually tried postgres.

@stefan-kolb Can you quickly recommend me a free PaaS MySQL service to test?

@stefan-kolb
Copy link
Member

This should not be related to MySQL, should it?

@stefan-kolb
Copy link
Member

@koppor
Copy link
Member

koppor commented Feb 20, 2018

@memering seems to be able to connect to a remote database. See #3736.

@stefan-kolb
Copy link
Member

Thank you for your report 👍
However, I cannot reproduce this behavior on the current master. Can you please try the latest build from http://builds.jabref.org/master.

@stefan-kolb stefan-kolb added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Feb 20, 2018
@memering
Copy link

It's an SSH tunnel in my case, so from JabRef's point of view it's localhost.

@stefan-kolb
Copy link
Member

Cannot test it with Heroku Postgres as we don't support SSL #3419

@stefan-kolb
Copy link
Member

Ok, i can connect to a JawsDB remote DB. However, I can hardly edit information as every step nearly freezes the UI. Is every change sent to the database, e.g., every key pressed?

@stefan-kolb
Copy link
Member

In general this is functional but kind of unusable as every single event synchronizes with the database.

@koppor
Copy link
Member

koppor commented Mar 20, 2018

This design decision was per intention (somehow). It is event-triggered. I think, @lenhard once made an improvement at the event that only after a few character changes the event is fired. Maybe, we should update that DB sync code that only after a field is changed, the event is sent?

@koppor koppor removed the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Mar 20, 2018
@stefan-kolb
Copy link
Member

@koppor this problem is tracked in a separate issue #3736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants