How does mysql export files? Please kindly advise !!! Mysql & gt; selectversion (); current_date; + ------------------ + | version () | + ------------------ + | 5.1.36-c How does mysql export files? Please kindly advise !!!
Mysql> select version (); current_date;
+ ------------------ +
| Version () |
+ ------------------ +
| 5.1.36-community |
+ ------------------ +
1 row in set (0.00 sec)
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
Corresponds to your MySQL server version for the right syntax to use near 'curre
Nt_date 'at line 1
Mysql> select version (); current_date;
+ ------------------ +
| Version () |
+ ------------------ +
| 5.1.36-community |
+ ------------------ +
1 row in set (0.00 sec)
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
Corresponds to your MySQL server version for the right syntax to use near 'curre
Nt_date 'at line 1
Mysql> show databases;
+ -------------------- +
| Database |
+ -------------------- +
| Information_schema |
| Metinfo |
| Mysql |
| Newnetinfo |
| Test |
+ -------------------- +
5 rows in set (0.00 sec)
Mysql> mysqldump-u root-p test> d: \ test. SQL;
Outfile disabled.
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
Corresponds to your MySQL server version for the right syntax to use near 'MySQL
Dump-u root-p test> d: est. SQL 'at line 1
Mysql>
I checked that mysql is 5.1.36. how can I export it successfully? is it a version problem? How can this problem be solved? Thank you !!!
------ Solution --------------------
Mysqldump is executed under the command line...
------ Solution --------------------
For example, win's dos
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service