Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-26-2015, 04:36 AM   #1
Sefid par
Registered: Jul 2013
Location: Iran, Shiraz
Distribution: Ubuntu
Posts: 130

Rep: Reputation: 26
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:

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?

Last edited by Sefid par; 05-26-2015 at 04:38 AM.
Old 05-28-2015, 06:21 AM   #2
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setting password for mysql user in startup sumeet inani Linux - Software 4 12-29-2014 10:18 PM
[SOLVED] Mysql access denied for user using password sanjay87 Linux - Server 2 03-20-2012 04:27 AM
MySQL 4.1 user/password problem devfreak Linux - Software 4 03-23-2006 01:54 PM
setting user password to mysql!! baby_linu Programming 3 03-09-2004 10:59 AM
How do I add a host user password to mysql server? cmisip Linux - Networking 3 12-16-2002 09:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration