[OpenSIPS-Users] error: 'mysql' tool not found: set MYSQL variable to correct tool path

Răzvan Crainea razvan at opensips.org
Wed May 29 10:27:10 CEST 2013


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

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
>



More information about the Users mailing list