I need to backup MySQL tables that I have created in all my projects.
So far I have attempted to copy 1 table - hi5:
C:\ xcopy "c:\ProgramData\MySQL Server 5.7\Data\hi5" c:\MybackUp\
but it is not copied and the error message is Parse Error
Hope someone can tell me the proper way to do it. Tks.
Just to add, I have problem in connecting to MYSQL after including a except Default UTF-8 line in my.ini. So I can only do it via the Windows 10 command prompt method.
My purpose is to uninstall the problematic MYSQL and re-install a new version. So I need to save up all these tables I have created.
mysqldump -u <username> -p<Password> -h 127.0.0.1 --routines --databases databasename > databasename.sql
.... give this one a try and see if it allow connection from host127.0.0.1
rather than localhost? Typically for the root account, you cannot connect to MySQL remotely so be sure you are connecting from the local server as root. If that does not work, tell me what error message it is giving you exactly. – Drink Some Pimp Juice IT Oct 17 '18 at 13:04