LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mysql++ | ./exrun resetdb [-s server_addr] [-u user] [-p password] (https://www.linuxquestions.org/questions/linux-software-2/mysql-%7C-exrun-resetdb-%5B-s-server_addr%5D-%5B-u-user%5D-%5B-p-password%5D-4175543607/)

Sefid par 05-26-2015 04:36 AM

mysql++ | ./exrun resetdb [-s server_addr] [-u user] [-p password]
 
I am learning mysql++.
In it's documentation mentioned to install databases before run samples.
I tried to do it as said by the following command in the source directory. But it gets the following error:

Code:

bash-4.3$ ./exrun resetdb -u root -p password
usage: ./exrun [TOOL] <example> [args...]

  Run ./exrun without arguments for more detailed usage info.

I got a bit confused. How can I run resetdb by exrun. Would somebody help me?

dijetlo 05-28-2015 06:21 AM

Sefid, I'm not certain but it looks to me from the error message you posted you need something more akin to

" ./exrun resetdb <the name of the db you'd like to reset here> -u root -p psswrd"

Of course, I know exactly as much about mysql as I need to do my non-dba job, and even less about mysql++ so actual mileage may vary, read all directions and be sure to consult a physician before... well, you get the picture... ;)

Hope that helps


All times are GMT -5. The time now is 03:28 PM.