Quote:
I used this command
sudo mysqldump -u root -p Shoppingportal > /var/www/information.sql;
And it gave me following error.Can you please tell why?
|
Not sure, but I have a feeling that it's either the "
;" in command or the redirect (">") (sudo+redirect could be 'iffy')
Try
Code:
sudo mysqldump -u root -p Shoppingportal > /var/www/information.sql
or quite possibly
Code:
sudo "mysqldump -u root -p Shoppingportal > /var/www/information.sql"