title: which mysql fuction is equal to php; password_hash?
body: <p>I created a default username and password in mysql table with this command.</p>
  
  <pre><code> insert into users (email, password) values('admin', md5('1234'));
  </code></pre>
  
  <p>and then tried to verify with php; </p>
  
  <pre><code>password_verify($_POST['password'], $results['password'])
  </code></pre>
  
  <p>but, it is not verified.. but, if I create a username and password with</p>
  
  <pre><code>$stmt -&gt; bindParam(':password', password_hash($_POST['password'], 
  PASSWORD_BCRYPT));
  </code></pre>
  
  <p>it can be verified..</p>
  
  <p>My question:</p>
  
  <p>i'd like to create default username and password with mysql command and want web-site(php) to verify it with user input.</p>
  
  <p>to do this, which mysql function do I need to use for the password encryption? 
  <strong>md5()</strong> seems not to be equal to <strong>password_hash</strong> in php..</p>
  
  <p>thanks a lot</p>