# Cannot find module './mysql\_logs'

**URL:** <https://discuss.elastic.co/t/cannot-find-module-mysql-logs/181337>\
**Category:** Kibana\
**Created:** [May 16, 2019, 8:43am UTC](https://discuss.elastic.co/t/cannot-find-module-mysql-logs/181337 "2019-05-16T08:43:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koen\_Wouters](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@Koen\_Wouters](https://discuss.elastic.co/u/Koen_Wouters)\
**Post date:** [May 16, 2019, 8:43am UTC](https://discuss.elastic.co/t/cannot-find-module-mysql-logs/181337/1 "2019-05-16T08:43:02Z")

</div>

Hi, I can no longer run Kibana after a mySQL crash and this is the error log I get :

log [08:31:31.995] [fatal][root] { Error: Cannot find module './mysql\_logs'  
at Function.Module.\_resolveFilename (internal/modules/cjs/loader.js:581:15)  
at Function.Module.\_load (internal/modules/cjs/loader.js:507:25)  
at Module.require (internal/modules/cjs/loader.js:637:17)  
at require (internal/modules/cjs/helpers.js:22:18)  
at Object. (/usr/share/kibana/src/legacy/core\_plugins/kibana/server/tutorials/register.js:28:19)  
at Module.\_compile (internal/modules/cjs/loader.js:689:30)  
at Module.\_extensions..js (internal/modules/cjs/loader.js:700:10)  
at Object.require.extensions.(anonymous function) [as .js] (/usr/share/kibana/node\_modules/babel-register/lib/node.js:152:7)  
at Module.load (internal/modules/cjs/loader.js:599:32)  
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)  
at Function.Module.\_load (internal/modules/cjs/loader.js:530:3)  
at Module.require (internal/modules/cjs/loader.js:637:17)  
at require (internal/modules/cjs/helpers.js:22:18)  
at Object. (/usr/share/kibana/src/legacy/core\_plugins/kibana/index.js:173:18)  
at Module.\_compile (internal/modules/cjs/loader.js:689:30)  
at Module.\_extensions..js (internal/modules/cjs/loader.js:700:10)  
at Object.require.extensions.(anonymous function) [as .js] (/usr/share/kibana/node\_modules/babel-register/lib/node.js:152:7)  
at Module.load (internal/modules/cjs/loader.js:599:32)  
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)  
at Function.Module.\_load (internal/modules/cjs/loader.js:530:3)  
at Module.require (internal/modules/cjs/loader.js:637:17)  
at require (internal/modules/cjs/helpers.js:22:18) code: 'MODULE\_NOT\_FOUND' }

FATAL Error: Cannot find module './mysql\_logs'

Any idea where this module is/should be located, and why it is used with Kibana? Or how I can disable it?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [May 16, 2019, 3:33pm UTC](https://discuss.elastic.co/t/cannot-find-module-mysql-logs/181337/2 "2019-05-16T15:33:33Z")

</div>

This is a reference to a Javascript file used for the getting started guides to show how to parse MySQL logs. It's not actually connecting to MySQL nor should it at all be affected by a MySQL process. Is it possible that this file or some files were removed from the Kibana package? I would recommend re-downloading Kibana, copy over your config and start it up again.

---

<div class="post-metadata">

**Author:** ![Koen\_Wouters](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@Koen\_Wouters](https://discuss.elastic.co/u/Koen_Wouters)\
**Post date:** [May 16, 2019, 4:20pm UTC](https://discuss.elastic.co/t/cannot-find-module-mysql-logs/181337/3 "2019-05-16T16:20:55Z")

</div>

Yeah, I assume my purge script was a bit too wide. I've reinstalled Kibana and all is indeed fine now

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 13, 2019, 4:22pm UTC](https://discuss.elastic.co/t/cannot-find-module-mysql-logs/181337/4 "2019-06-13T16:22:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
