SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DATABASE.blog_posts' doesn't exist on 000webhost
<p>Im using 000webhost.
Recently i installed custom blog script.</p>

<p>When i inserted database details(host/dbname/dbuser/dbpass) i get this error</p>

<p>When i go to blog index.php</p>

<blockquote>
  <p>SQLSTATE[42S02]: Base table or view not found: 1146 Table 'a5416708_blog.blog_posts' doesn't exist</p>
</blockquote>

<p>When i go to blog admin panel index.php, try and login it says this:</p>

<blockquote>
  <p>SQLSTATE[42S02]: Base table or view not found: 1146 Table 'a5416708_blog.blog_members' doesn't exist</p>
</blockquote>

<p>Wrong username or password</p>

<p>All I understood is that i need to create those tables, which i need to do in phpmyadmin.</p>

<p>But question is 
1)how do I corrent this error?
2)how do I create/add database tables in phpmyadmin?</p>

<hr>

<p>Have done this part ( creating tables, thanks to Karthic Rajakumar)</p>

<p>Once i did that, i needed user for my admin panel. Where from i downloaded this php blog script, theres told that username and password for that user is "demo".
Which is told in sql script too</p>

<pre><code>    INSERT INTO `blog_members` (`memberID`, `username`, `password`, `email`)
VALUES
  (1,'Demo','$2y$10$wJxa1Wm0rtS2BzqKnoCPd.7QQzgu7D/aLlMR5Aw3O.m9jx3oRJ5R2','demo@demo.com');
</code></pre>

<p>So, when i created thoses tables, I inserted this sql script into database(then I found, that i didn't have to manually really create them), whatever.
When i inserted this sql script into my database with this user and password(which i believe is hashed or something) is main acp user.
Then i deleted this user with ID 1 from .blogs_member (emptyed table) and created new user with another username and password (admin, admin)</p>