Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored. #371

Open
alizesformation opened this issue Nov 8, 2022 · 1 comment

Comments

@alizesformation
Copy link

Hello,

I followed some README.md steps to install UnifiedTransform but I'm stucked at the step 5 :

  1. Run docker exec -it db sh. Inside the shell, run:

:/# mysql -u root -p
Mysql Root password: your_mysql_root_password in the docker-compose.yml file. Then run following commands:

mysql> SHOW DATABASES;
mysql> GRANT ALL ON unifiedtransform.* TO 'unifiedtransform'@'%' IDENTIFIED BY 'secret';
mysql> FLUSH PRIVILEGES;
mysql> EXIT;

When I run "mysql -u root -p" inside the shell, I have this message as return :

mysql: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
Enter password:

It's impossible to type a password.

I don't know how to fix it.

@Mkexplorer
Copy link

The warning indicates that the MySQL configuration file, 'my.cnf,' has overly permissive permissions, which could pose a security risk. You should restrict the file's permissions to prevent unauthorized access. Consider using the following command:

"
chmod 644 /etc/mysql/my.cnf "

This command sets the file permissions to read and write for the owner and read-only for others, enhancing security.

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

No branches or pull requests

2 participants