Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Database Foundations Installing MySQL Server and MySQL Workbench Running a Script and Using MySQL Workbench

If you received a 1064 like me, here's how I fixed it

I double checked just to make sure I was running the same version as Andrew (5.6.10) you can check your version number by opening a new local instance and typing "SELECT @@version;" without the quotes and it should output the version number.

This is the error I was receiving: Error Code: 1064. 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 'N' at line 1

Seeing as how the syntax on line 1 matched to what was in the lesson video, I thought it was just a glitch of some kind.

All I had to do was close out the local instance and reload the MySQL script "movie_db.sql" and re-execute it and that seemed to have fixed the problem.

Hopefully this helps someone with the same problem in the future.