I would say that you have a permission problem with where PHP is trying
to write the file to. Try outputting the file to /tmp/db.dump and see
if you have the same problem.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original
Did u mention the database name from where the table has to be
picked up.
check out the manual for correct syntax.
/sagar
- Original Message -
From: Tony Frasketi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 11:25 PM
Subject: [PHP] Newbie Question:
Hi Sagar
My goof in the email composition! 'tablename' should have been 'dbname'.
So yes, the database name is specified and I am attempting to dump the
entire database with all tables.
Thanks for point out my error.
sagar wrote:
Did u mention the database name from where the table has to be
Hi Sam
Thanks for the reply. I had the permission set for 777 so that should
allow access to the directory for writing from PHP, should it not?
Also I tried specifying /tmp/db.dump in the command and had the tmp
directory permission also set for 777 but still get same results. The
file get
:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:28 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks for the reply. I had the permission set for 777 so that should
allow access to the directory for writing from PHP, should
PROTECTED]
Sent: Tuesday, September 04, 2001 11:53 PM
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sagar
My goof in the email composition! 'tablename' should have been 'dbname'.
So yes, the database name is specified and I am attempting to dump the
entire database with all tables
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:28 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks for the reply. I had the permission set for 777 so
]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:53 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
No I haven't tried this since I'm on a virtual server and don't know
where mysqldump
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:28 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks for the reply. I
So sprach »Tony Frasketi« am 2001-09-04 um 13:53:10 -0500 :
section of the phpinfo listing. Do you know of a unix shell command I
could use to get the location of mysqldump?
which mysqldump
this should tell you.
Alexander Skwar
--
How to quote: http://learn.to/quote (german)
Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:28 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi
]
Sent: Tuesday, September 04, 2001 12:39 PM
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks to suggestions from jason, Alexander, and yourself I tried the
unix which command and found that mysqldump was located at...
/usr/bin/ directory
And I changed my exec command
: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks for the reply. I had the permission set for 777 so that should
allow access to the directory for writing from PHP, should it not?
Also I tried specifying /tmp/db.dump in the command and had
13 matches
Mail list logo