title: Cake bake undefined function mysql_query on easyphp
body: <p>when i try to use the shell to build models</p>
  <blockquote>
  <p>cake bake</p>
  <p>M</p>
  </blockquote>
  <p>i get this error:</p>
  <p>Fatal error: Call to undefined function mysql_query() in C:\Program Files\EasyPH</p>
  <p>P-5.3.2\www\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 588</p>
  <p>on</p>
  <p>phpinfo();</p>
  <p>mysql extension is enabled, i'm using mysql driver</p>
  <p>running</p>
  <p>if(!function_exists('mysql_query')) echo 'error'; else echo 'all fine';</p>
  <p>on a separate file prints all fine but on</p>
  <p>dbo_mysql.php just before line 588</p>
  <p>prints error</p>
  <p>i believe the database configuration is correct as on <a href="http://127.0.0.1/cake/" rel="nofollow noreferrer">http://127.0.0.1/cake/</a></p>
  <p>it says</p>
  <p>Your database configuration file is present.</p>
  <p>and</p>
  <p>Cake is able to connect to the database.</p>
  <p>i'm using the latest stable version of cakephp and easyphp on windows xp pro sp3, paths are setted correctly</p>
  <p>any idea?</p>
  <p>thank you</p>