Skip to main content

MYSQL Configuration

Comments

3 comments

  • cPanelMichael
    Hello :) MySQL configuration changes are made in the following file: /etc/my.cnf The following thread is useful if you are seeking help on which specific edits to make: MySQL Server Stats Gathering Tool Thank you.
    0
  • darknez
    [quote="cPanelMichael, post: 1490562">Hello :) MySQL configuration changes are made in the following file: /etc/my.cnf The following thread is useful if you are seeking help on which specific edits to make: MySQL Server Stats Gathering Tool Thank you.
    Thanks for the quick reply but the problem is in mysql.cnf file i am getting only one Line [mysqld] innodb_file_per_table=1
    This is what i am getting in mysql.cnf file. so what shall i do to get all the variables in file.
    0
  • Infopro
    [quote="darknez, post: 1490631">Thanks for the quick reply but the problem is in mysql.cnf file i am getting only one Line [mysqld] innodb_file_per_table=1
    This is what i am getting in mysql.cnf file. so what shall i do to get all the variables in file.
    That's a default file added. You can start by reading up on using Option files here: 4.2.3.3. Using Option Files - mysql.com Documentation In that first paragraph you'll see this comment: [QUOTE]MySQL provides a number of preconfigured option files.
    If you click thru it you come to this page: 5.1.2. Server Configuration Defaults - mysql.com Documentation That page explains the default files already on your system available to be used. You'd read up on those, select the best one depending on your system (my-small.cnf, my-medium.cnf, my-large.cnf, or my-huge.cnf), and copy it, rename it to my.cnf, and replace the one you have in use now. Now that you've got all the variables you're looking for, you'll need to leave the system run, using it for at least 24 hours. Next, gather the stats and go from there. You really shouldn't be changing anything with this until you've read up on it and understand a bit more about what you're doing. GL!
    0

Please sign in to leave a comment.