LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-26-2015, 04:36 AM   #1
Sefid par
Member
 
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:

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?

Last edited by Sefid par; 05-26-2015 at 04:38 AM.
 
Old 05-28-2015, 06:21 AM   #2
dijetlo
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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 PM.

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