Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Display the log errors #160

Open
CLOVIS-AI opened this issue Feb 16, 2019 · 0 comments
Open

Display the log errors #160

CLOVIS-AI opened this issue Feb 16, 2019 · 0 comments

Comments

@CLOVIS-AI
Copy link

I'm trying this lib but mysqld doesn't run.

java.lang.InterruptedException: Timeout of 30 sec exceeded while waiting for '/home/[REDACTED]/build/mysql-5.7-72787acf-7fdb-4ac7-add0-44837f9bc7a0/bin/mysqld' to complete. Collected output:

Based on this and the error messages displayed by mysqld when trying to run it manually, it looks like mysqld cannot find the datadir:

mysqld: Can't create directory '/usr/local/mysql/data/' (Errcode: 2 - No such file or directory)
2019-02-16T14:17:52.410053Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
2019-02-16T14:17:52.410591Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
2019-02-16T14:17:52.411676Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-02-16T14:17:52.412112Z 0 [ERROR] Can't find error-message file '/usr/local/mysql/share/errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive.
2019-02-16T14:17:52.415133Z 0 [ERROR] Aborting

To see this message, I had to run the mysqld script while the JVM was running (because it is removed at shutdown), I also needed to guess the parameters passed to mysqld. This is inconvenient.

I'd like a simple way to have this project display the error logs I just showed, which are emitted by mysqld to standard output. This would enable me to fix this much more easily.

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

No branches or pull requests

1 participant