If the password is supplied, there is no space after the p.
Yes, one space after the p, in either Windows/Linux; if the password is absent. Password will be asked subsequently with this alternate method of mysqldump.
I hope no one is using “openemr” as the mysql root password. Almost as insecure as using “password”.
Learning the Terminal is very slow as syntax is extremely exact and unforgiving. Will feel like summiting Mount Everest when competence has been achieved. It’s good to remember that even the pros use the man command.
What is the command for copying and replacing the openemr web directory?
Thank you, Stephen (if you’ve been on vacation, hope it was fun).
Still struggling with mv & cp commands; getting error messages that the file in question does not exist, despite the fact that I’m in the correct directory staring at that file.
It’s the reason for attending Linux Summer School, which begins next month.
I know it does not belong to this topic. But I tried to use the Backup-restore software as proposed by MINT17. But the Backup I mad does not want to restore. Hanging at 58 of 25758.
I will make a fresh MINT17 install an see if Git-OpenEMR does the correct install and see if OpenEMR backup feature makes a backup somewhere. In the Mint 17 version and Github-OpenEMR version I could not find anything to happen. After this Mint17 is out and Ubuntu is back in or if it works cross my fingers… I am in for Mint17, I let you know.
Mintbackup does not work well for me. Seems like a lot of trouble.
Harley has a good idea by keeping a home partition for the personal stuff and using the root partition for new versions of Mint.
Because I’m still uncomfortable with GParted, it’s easier for me to get a system image of the dual-boot from C-drive.
It seems like overkill to backup via a system image on a daily basis just to backup OpenEMR. Good thing I don’t need the backup utility in LM 17 because it contains only the test copy. Don’t concern yourself with it. Next time Harley posts again, I’ll ask him about the backup utility. He has the same setup as myself.
I used
mysql -u root -p[password] openemr < backup.sql
And it worked great. much faster. No more of this error code: Enter password: ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)