title: ERROR 1049 (42000): Unknown database, localized Wordpress database
body: <p>I'm moving my wordpress website to local for testing purpose.</p>
  
  <p>I encountered the error below when I'm trying to import the .sql that I export from CPanel PHPMyadmin into local MYSQL Workbench.</p>
  
  <p>FYI, I'm using MYSQL Workbench 6.0 and MYSQL Administrator 1.2.17</p>
  
  <pre><code>15:08:07 Restoring C:\Users\abc\Desktop\db.sql
  
  Running: mysql.exe --defaults-extra-file="c:\users\abc\appdata\local\temp\3\tmpdemide.cnf"  --host=localhost --user=root --port=3307 --default-character-set=utf8 --comments --database=db &lt; "C:\\Users\\abc\\Desktop\\db.sql"
  
  ERROR 1049 (42000): Unknown database 'db'
  
  Operation failed with exitcode 1
  15:08:08 Import of C:\Users\abc\Desktop\db.sql has finished with 1 errors
  </code></pre>