title: Can't create table <tablename> errno 150
body: <p>Here is my SQL script</p>
  
  <pre><code>CREATE TABLE tracks(
  track_id int NOT NULL AUTO_INCREMENT,
  account_id int,
  track_name varchar(255),
  track_path varchar(255),
  track_art_path varchar(255),
  track_desc text,
  primary key(track_id),
  FOREIGN KEY (account_id) REFERENCES accounts_profile(accnt_id)
  )
  </code></pre>
  
  <p>I don't see any syntax errors. Everything looks fine. My Database Engine is innoDB. but how come I keep on receiving this error? </p>
  
  <pre><code>#1005 - Can't create table 'beatbeast.tracks' (errno: 150)
  </code></pre>
  
  <p>It's not showing what line where the error is.</p>