Topic: ERROR 1064 (42000)

While trying to creat database on the cmd command, I got this error :

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 'ERROR 1064 (42000): You have an error in your SQL syntax' at line 1.
Ofcourse I checked the mistape etc ... but nothing ,it seems to be different version used of msql, how can I check or upgrade or add the right msql to Rails ?
Anyhelp ?