On Mon, 26 Nov 2001, john wrote:
> my mistake, I copied the line and forgot to remove the first lefeber.
Mmm no, what I was referring to was that Ben might be confusing
"installation directory" with "mysql binary location". I think we all mean
the latter in this case. Which would then be '/apache
my mistake, I copied the line and forgot to remove the first lefeber.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 26, 2001 2:36 PM
To: john
Cc: Ben Ocean; [EMAIL PROTECTED]
Subject: RE: HELP! Hosed Database!
On Mon, 26 Nov 2001, john
On Mon, 26 Nov 2001, john wrote:
> use:
> cat lefeber lefeber.txt | /apache/mysql -u MyUserName -pMyPassword lefeber
I have this strange feeling that the line should read
cat lefeber.txt | /apache/mysql/bin/mysql -u -p lefeber
But let's see who of us are right =)
Sincerely,
Jan
--
Mr. Jan-Aa
Beno,
I cannot believe I am a beginner and the "pro" developer Mr. Sinisa
Milivojevic <[EMAIL PROTECTED]> could not answer your question. I believe you
are reading/issuing the command incorrectly. The "pro" developer Mr. Sinisa
Milivojevic <[EMAIL PROTECTED]> did not read your email properly.
On Monday, November 26, 2001, at 02:38 PM, Ben Ocean wrote:
> But I have a backup, if I just knew how to restore it! The instructions
> read:
> #mysqldump --opt database_name > database_name_File.txt
> To restore database:
> #cat database_name_File.txt | /path/to/mysql -u username -p
> databa
> then I should be able to issue this command:
> cat lefeber.txt | /apache/mysql -u MyUserName -pMyPassword lefeber
> Why does it tell me that /apache/mysql is a directory (duh) and break the
pipe?
It really means to pipe that file to the mysql command line client, not the
mysql directory. Try
hi.
/path/to/mysql means the path to the mysql _executable_...
type 'which mysql' to see for sure, but it might be /apache/mysql/bin/mysql.
good luck.
-ravi.
-Original Message-
From: Ben Ocean [mailto:[EMAIL PROTECTED]]
Sent: November 26, 2001 2:38 PM
To: [EMAIL PROTECTED]
Subject: HEL