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

Cannot connect to MySQL #241

Open
alamsyah78 opened this issue Jun 24, 2022 · 4 comments
Open

Cannot connect to MySQL #241

alamsyah78 opened this issue Jun 24, 2022 · 4 comments
Assignees
Labels
DNA data structures Issues related to data structures, classes, and SQL enhancement version 3.0 Issues relating to version 3.0, including rDNA
Milestone

Comments

@alamsyah78
Copy link

Dear all,

I cannot connect to MySQL. Here, is the log:

logger stack trance: logger.LogEvent
exception stack trace: java.lang.NullPointerException: Cannot invoke "javax.sql.DataSource.getConnection()" because the return value of "sql.Sql.getDataSource()" is null at sql.Sql.getVersion(Sql.java:4139)

Software: DNA 3.0
Java: 18.0.1.1 2022-04-22
Mac: macOS Big Sur version 11.6.6

Thanks to read this message.

Regards,

@alamsyah78
Copy link
Author

I solve this problem.

@leifeld
Copy link
Owner

leifeld commented Jul 3, 2022

Sorry for not responding sooner as I was travelling. May I ask, why did this error occur, and how did you solve it? Thanks.

@alamsyah78
Copy link
Author

This error occurs because I do not input several MySQL parameters correctly. I tried several times until the connection was established. Thank you for your response, Prof. Leifeld!

Best regards from Indonesia.

@leifeld
Copy link
Owner

leifeld commented Jul 3, 2022

Thanks. I'll see if I can create a more useful error log message if I am able to reproduce the problem.

@leifeld leifeld reopened this Jul 3, 2022
@leifeld leifeld self-assigned this Jul 3, 2022
@leifeld leifeld added enhancement DNA data structures Issues related to data structures, classes, and SQL version 3.0 Issues relating to version 3.0, including rDNA labels Jul 3, 2022
@leifeld leifeld modified the milestones: DNA 3.0.9, DNA 3.0.10 Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNA data structures Issues related to data structures, classes, and SQL enhancement version 3.0 Issues relating to version 3.0, including rDNA
Projects
None yet
Development

No branches or pull requests

2 participants