Reputation: 1
I have a question of mysqldump in mac terminal.
mysql>mysqldump -u user -ppassword database;
But it says:
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
I do not know why.
Upvotes: 0
Views: 1384
Reputation: 302
you can remedy this by issuing the following instruction: ln -s /usr/local/zend/mysql/tmp/mysql.sock /tmp/mysql.sock
Upvotes: 0