Question

Cant locate my.cnf with marketplace phpmyadmin install.

I have installed PHPMyAdmin using the marketplace. Everything is really but I can’t seem to find the my.cnf file to set memory usage and other settings. I looked in a few places such as etc and MySQL but just can’t seem to find the file. Any help would be great.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello @Mutterz ,

The default location is /etc/my.cnf or /etc/mysql/my.cnf

Please note that /etc/mysql/my.cnf file is not really a file but a symlink. If you want to make some changes to your MySQL variables, you need to make the change in the MySQL daemon config file located at /etc/mysql/mysql.conf.d/mysqld.cnf.

https://www.digitalocean.com/community/questions/assistance-with-mysql-my-cnf-file-preventing-mysql-from-starting?answer=63542

Hope that helps!

Cheers, Lalitha