[OpenSIPS-Users] error: 'mysql' tool not found: set MYSQL variable to correct tool path
Sunny Khan
nicepathan72 at gmail.com
Thu May 30 07:56:26 CEST 2013
Thanks for the reply,
which mysql shows
/usr/bin/mysql
but I uninstalled opensips 1.9 and Installed 1.8 following the webinar
steps. and its done.
On Wed, May 29, 2013 at 1:27 PM, Răzvan Crainea <razvan at opensips.org> wrote:
> Hi, Sunny!
>
> It seems like the opensipsctl tool cannot find the mysql application. Can
> you run 'which mysql' and see if you have it in your PATH?
>
> Best regards,
>
> Razvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.**com <http://www.opensips-solutions.com>
>
>
> On 05/28/2013 03:20 PM, Sunny Khan wrote:
>
>> Hello,
>>
>> Please help me in this I get the following error
>>
>> opensipsdbctl create
>>
>> /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
>>
>> libmysqlclient-dev, and mysql-client already installed.
>>
>>
>> this is my opensipsctlrc
>>
>>
>>
>> DBENGINE=MYSQL
>>
>> ## database host
>> DBHOST=79.143.177.201
>>
>> ## database name (for ORACLE this is TNS name)
>> DBNAME=opensips
>>
>> # database path used by dbtext or db_berkeley
>> # DB_PATH="/usr/local/etc/**opensips/dbtext"
>>
>> ## database read/write user
>> DBRWUSER=opensips
>>
>> ## password for database read/write user
>> DBRWPW="Jeddah@@1375"
>>
>> ## database super user (for ORACLE this is 'scheme-creator' user)
>> #DBROOTUSER="root"
>>
>>
>>
>> ______________________________**_________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
> ______________________________**_________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130530/0cb00c29/attachment.htm>
More information about the Users
mailing list