MySQL Error on Startup: ambiguous option '--log=/var/log/mysqld.log'

70

Solution 1

Make sure your start.sh is using the correct my.cnf with --defaults-file=/path/to/my.cnf

You may also have another my.cnf automatically being included (usually /etc/mysql/my.cnf) that could be adding/overriding options in your base config file.

Solution 2

The "ambiguous option" error message should have pointed you in the right direction... The --log option has been long deprecated, use the --general-log option instead

Please post your other errors messages so that we can help you with them.

Share:
70

Related videos on Youtube

Smeegs
Author by

Smeegs

Updated on September 18, 2022

Comments

  • Smeegs
    Smeegs over 1 year

    I'm trying to create a simple single stacked bar chart that goes left to right.

    I've adapted the code found here, and I've gotten pretty close. However, the stacked data is in the wrong direction.

    The data at index 0 is all the right to the right, and the data at index 2 is all the way to the left.

    I have a feeling it's got something to do with the rectangle and transition, but I'm not sure where I went wrong.

    var rect = layer.selectAll("rect")
      .data(function(d) {
        return d;
      })
      .enter().append("rect")
      .attr("y", function(d) {
        return y(d.y);
      })
      .attr("x", 0)
      .attr("height", y.rangeBand())
      .attr("width", 0);
    
    rect.transition()
      .delay(function(d, i) {
        return i * 10;
      })
      .attr("x", function(d) {
        return x(d.x0 + d.x);
      })
      .attr("width", function(d) {
        return x(d.x0) - x(d.x0 + d.x);
      });
    

    Fiddle

  • MaticPetek
    MaticPetek almost 12 years
    Hi! Yes, this was my problem - another my.cnf in /etc/my.cnf. I remove this file and now it starts. Thank you.