Releem / mysqlconfigurer

Releem is a simple MySQL tuning tool to improve database performance and reduce servers costs.
https://releem.com
GNU General Public License v3.0
255 stars 27 forks source link

First run after install generates error in /tmp/.mysqlconfigurer/z_aiops_mysql.cnf file #89

Closed arpoodle closed 1 year ago

arpoodle commented 2 years ago

Executed RELEEM_API_KEY=[my key] bash -c "$(curl -L https://releem.s3.amazonaws.com/install.sh)" On completion, /tmp/.mysqlconfigurer/z_aiops_mysql.cnf file contains only:

# 500 Internal Server Error Oh no! Something bad happened. Error is:Expecting value: line 1 column 2 (char 1)

drupaladmin commented 2 years ago

Hey, have you signed up at releem.com to get API key?

drupaladmin commented 2 years ago

In most cases the problem is in permissions and .my.cnf. Please send us the IP address of your server on email hello [at] releem.com

arpoodle commented 2 years ago

I'm not using a .my.cnf. I'm using the encrypted passwword from mysql_config_editor to allow access to the DB as we cannot allow unencypted passwords in plaintext

The server does not have a public IP address

And yes, I have an API key

drupaladmin commented 2 years ago

We didn't test Releem Agent with mysql_config_editor. We're going to test it.

I'll keep you informed.

drupaladmin commented 2 years ago

Please try to run mysqladmin ping. If it runs successfully, then Releem Agent should run successfully.

drupaladmin commented 2 years ago

@arpoodle May I ask you did you try to run mysqladmin ping?