How to find the file causing a mysql syntax error
<p>I'm a newbie. I just set up Ubuntu to run on my Chromebook (via Crouton) last week and am currently in the process of setting up several Wordpress sites on localhost. I successfully installed a new Wordpress site yesterday, and I'm able to access the frontend and backend of the site via localhost no problem.</p>

<p>Today I wanted to create another Wordpress site. But when I try to create a new database in mysql using Terminal, I get the following error: </p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>mysql&gt; CREATE DATABASE;
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 '' at line 1</code></pre>
</div>
</div>
</p>

<p>How do I figure out which file is causing the syntax error? I checked php.ini, which I edited yesterday, but line 1 looks fine.</p>