Hello.
I am trying to restore backup file to new machine and entered following command
“c:\dolibarr\bin\mysql\mysql5.0.45/bin/mysql dolibarr -h localhost -P 3306 -u dolibarrmysql -pchangeme < mybackupfile.sql”
but I get a following error. “The system cannot find the file specified.”
I renamed backup file to “mybackupfile.sql” and copied to following folders “dolibarr_documents, bin/mysql, bin/mysql/mysql5.0.45”
after a new installation of ubuntu, try to restore my database. But the message I always see is: “bash: $6: ambiguous redirect”
Here comes my command to restore the database. Note: could it be possible, that the “>”-sign inside the password disturbs the execution? But what to do then?