Tell me, please, what is the error. Trying to export MySQL in this way.
mysqldump -u name_userdb -p -h localhost name_base > dump.sql For Windows:
"C:\Program Files\MySQL\MySQL Server\bin\mysqldump.exe" --user=root --password="123" --database name_base >D:\arh\dump20130731.sql Where:
For Linux:
mysqldump --user=root --password="123" --database name_base >/home/username/arh/dump20130731.sql If you need to import / export several databases in a single archive file, then simply list the database names separated by spaces, for example:
mysqldump --user=root --password="123" --database name_base another_base >/home/username/arh/dump20130731.sql mysqldump --opt --user = USERNAME --password = PASSWORD DATABASE TABLENAME> TO BASE
Source: https://ru.stackoverflow.com/questions/240497/
All Articles