# Issue on Lab 2.2

**URL:** <https://discuss.elastic.co/t/issue-on-lab-2-2/338032>\
**Category:** Elastic Observability\
**Created:** [July 10, 2023, 2:32pm UTC](https://discuss.elastic.co/t/issue-on-lab-2-2/338032 "2023-07-10T14:32:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmitKakkad](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@AmitKakkad](https://discuss.elastic.co/u/AmitKakkad)\
**Post date:** [July 10, 2023, 2:32pm UTC](https://discuss.elastic.co/t/issue-on-lab-2-2/338032/1 "2023-07-10T14:32:31Z")

</div>

Hello. I have this in the myql yaml:

# Module: mysql

# Docs: [MySQL module | Metricbeat Reference [7.9] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/7.9/metricbeat-module-mysql.html)

- module: mysql  
metricsets:

But I get this error when testing:

[elastic@mysql metricbeat]$ ./metricbeat test modules mysql  
Error getting metricbeat modules: error loading config files: invalid config: yaml: line 17: did not find expected '-' indicator

Can anyone help please?

 ![Lab 22-a](https://us1.discourse-cdn.com/elastic/original/3X/2/4/24627eabd46f7f039ba94d87d7ad1e125d5473f1.jpeg)

---

<div class="post-metadata">

**Author:** ![AmitKakkad](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@AmitKakkad](https://discuss.elastic.co/u/AmitKakkad)\
**Post date:** [July 10, 2023, 3:04pm UTC](https://discuss.elastic.co/t/issue-on-lab-2-2/338032/2 "2023-07-10T15:04:19Z")

</div>

Hi All,

Here are all the processes. Does this help?

[elastic@mysql metricbeat]$ ps -eaf  
UID PID PPID C STIME TTY TIME CMD  
root 1 0 0 13:43 pts/0 00:00:00 /bin/bash /root/startup.sh  
root 11 1 0 13:43 ? 00:00:00 /usr/bin/python /usr/bin/supervisord -c /etc/supervisor/supervisord.conf  
root 18 1 0 13:43 ? 00:00:00 /usr/bin/python /usr/bin/supervisord -c /etc/supervisor/supervisord.conf  
mysql 36 1 0 13:43 pts/0 00:00:11 mysqld --init-file=/tmp/init.sql  
root 38 1 0 13:43 pts/0 00:00:00 /bin/bash /root/start-scripts/99-bash.sh  
root 39 38 0 13:43 pts/0 00:00:00 bash -l  
root 86 1 0 13:43 ? 00:00:00 /sbin/sshd  
root 330 86 0 14:05 ? 00:00:00 sshd: elastic [priv]  
elastic 332 330 0 14:05 ? 00:00:00 sshd: elastic@pts/1  
elastic 333 332 0 14:05 pts/1 00:00:00 -bash  
elastic 1192 333 0 15:02 pts/1 00:00:00 ps -eaf
