Re: [PHP] system(): access denied

2003-01-16 Thread lastnumberone
no, i use mysqldump -uroot -p > my_dump_file.sql it is not '<' but '>' "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I suppose because if you use > > mysqldump -uroot -p > the password is read from my_dump_file.sql > > [EMAIL PROTECTED] wr

Re: [PHP] system(): access denied

2003-01-16 Thread lastnumberone
But why it is ok when i use system("mysqldump -uroot -p >my_dump_file.sql")? thanks "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > There is nothing wrong with it, with the -p switch, you specify you want > to supply a password, but you don't gi

[PHP] system(): access denied

2003-01-16 Thread lastnumberone
Hello All, I have a script which uploads a mysqldump file into the server and use system("mysql -uroot -p < the_dump_file.sql") to restore the database. While, it does not go through and the apache error_log shows: Enter password: Enter password: ERROR 1045: Access denied for user: 'root@localhost

[PHP] Re: copying tables

2002-11-21 Thread lastnumberone
what about dump the table then modify the sql file to create another table? "Steve Buehler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Using PHP and MySQL. > I have looked and can't find the answer to this problem. What I am trying > to do is to copy a m