You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-08-16T01:11:30Z E! [inputs.mysql] Error in plugin: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SLAVE STATUS' at line 1
System info
Telegraf 1.31.3 (git: HEAD@ecf94b12)
Docker
No response
Steps to reproduce
Setup MYSQL 8.4 replication
Enable collect slave status with option gather_slave_status
Check log and see issue
Expected behavior
Have metric related replica in mysql 8.4 like
Replica_IO_Running
Replica_SQL_Running
Actual behavior
2024-08-16T01:11:30Z E! [inputs.mysql] Error in plugin: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SLAVE STATUS' at line 1
Additional info
No response
The content you are editing has changed. Please copy your edits and refresh the page.
Info
Due to from MYSQL 8.4 removed
show slave status
command and replace byshow replica status
command. this cause issue when collect from MYSQL 8.4 release and further.More: https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html#mysqld-8-4-0-deprecation-removal
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.31.3 (git: HEAD@ecf94b12)
Docker
No response
Steps to reproduce
gather_slave_status
Expected behavior
Actual behavior
2024-08-16T01:11:30Z E! [inputs.mysql] Error in plugin: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SLAVE STATUS' at line 1
Additional info
No response
Tasks
The text was updated successfully, but these errors were encountered: