'mysql' tool not found: set MYSQL variable to correct tool path

Naveed
2013-05-28
2013-06-11
  • Naveed

    Naveed - 2013-05-28

    Hello,

    I Installed opensips 1.9 and when I apply
    opensipsdbctl create

    I get the following error.

    /usr/local/lib64/opensips/opensipsctl/opensipsdbctl.mysql: line 25: locate_tool: command not found
    error: 'mysql' tool not found: set MYSQL variable to correct tool path

    mysql-client etc. already installed.

    regards.

     
    • Praveen Chourasia

      Can you try using "/usr/local/sbin/osipsconsole" utility. This also provides the functionality for creating the DB.

      You can run this utility like this
      $ ./osipsconsole
      Control engine FIFO loaded
      OpenSIPS$ db create <dbname>

      This should create OpenSIPS DB with name <dbname>.

       
  • Naveed

    Naveed - 2013-05-29

    Please Please Please help.