MySQL Forums
Forum List  »  Newbie

Re: Mysql configuration file
Posted by: Jonathan Stephens
Date: August 14, 2015 07:24AM

I should note that what I showed you will give you the location of the configuration file that's currently being used by mysqld. As you can see, the name "my.cnf" is just a convention and is not actually required.

I should also mention that it's entirely possible for the MySQL server to run with *no* configuration file, so you might not have one and might need to create it if you want to use one. See Using Option Files for a table showing where MySQL automatically looks for option files on Linux and other Unix-like platforms. Or use the --defaults-file option or the --defaults-extra-file option when starting the MySQL server.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
August 14, 2015 02:49AM
Re: Mysql configuration file
August 14, 2015 07:24AM
October 22, 2015 08:27PM
October 29, 2015 10:08AM
October 29, 2015 09:54PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.