Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      linux

      Description

      running ./bin/mysqld_safe --datadir='/demarialab1/pocinst/data/dbs' --defaults-file='/demarialab1/pocinst/tmp/my.cnf' --basedir=$MARIA_HOME --log-warnings=2

      seeing err..any advice on this ?
      130203 14:43:29 [ERROR] /demarialab1/pocinst/product/mdb/maria/bin/mysqld: unknown variable 'defaults-file=/demarialab1/pocinst/tmp/my.cnf'
      130203 14:43:29 [ERROR] Aborting

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            --defaults-file should be the very first option on the command line, otherwise it won't be recognized. For example, in your case it should be

            ./bin/mysqld_safe --defaults-file='/demarialab1/pocinst/tmp/my.cnf' --datadir='/demarialab1/pocinst/data/dbs' --basedir=$MARIA_HOME --log-warnings=2

            Show
            elenst Elena Stepanova added a comment - --defaults-file should be the very first option on the command line, otherwise it won't be recognized. For example, in your case it should be ./bin/mysqld_safe --defaults-file='/demarialab1/pocinst/tmp/my.cnf' --datadir='/demarialab1/pocinst/data/dbs' --basedir=$MARIA_HOME --log-warnings=2
            Hide
            mani Mani Sundarigari added a comment -

            Thanks for your help..I have fixed all these..

            i checked ps -ef |grep maria and i see the mysqld daemon started with correct port.

            Now i am not getting how to check if the instance is up and connect to db as i did not run this './bin/mysqladmin' -u root -h vlmmk644 password 'new-password' and dont know root pwd.

            Show
            mani Mani Sundarigari added a comment - Thanks for your help..I have fixed all these.. i checked ps -ef |grep maria and i see the mysqld daemon started with correct port. Now i am not getting how to check if the instance is up and connect to db as i did not run this './bin/mysqladmin' -u root -h vlmmk644 password 'new-password' and dont know root pwd.

              People

              • Assignee:
                Unassigned
                Reporter:
                mani Mani Sundarigari
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: