vagrant@localhost:~$ /usr/bin/mysqld_safe & not working
<p>I am a beginner to programming world: Been googling and trying many things for two days... but no solution.
Installed cptserver for LAMP, for virtual machine (Git, vagrant, puppet): <a href="https://github.com/pigeontech/cptserver" rel="nofollow">https://github.com/pigeontech/cptserver</a></p>

<p>When I try to start Mysql, I get the following errors:</p>

<pre><code>vagrant@localhost:~$ /usr/bin/mysqld_safe &amp;
</code></pre>

<blockquote>
  <p>[1] 3404 vagrant@localhost:~$ 160311 01:02:50 mysqld_safe Can't log to
  error log and syslog at the same time.  </p>
  
  <p>Remove all --log-error configuration options for --syslog to take
  effect.</p>
  
  <p>160311 01:02:50 mysqld_safe Logging to '/var/log/mysql/error.log'.</p>
  
  <p>touch: cannot touch ‘/var/log/mysql/error.log’: Permission denied</p>
  
  <p>chmod: cannot access ‘/var/log/mysql/error.log’: Permission denied</p>
  
  <p>cat: /var/run/mysqld/mysqld.pid: Permission denied</p>
  
  <p>rm: cannot remove ‘/var/run/mysqld/mysqld.pid’: Permission denied</p>
  
  <p>160311 01:02:50 mysqld_safe Fatal error: Can't remove the pid file:
  /var/run/mysqld/mysqld.pid</p>
  
  <p>Please remove it manually and start /usr/bin/mysqld_safe again; mysqld
  daemon not started</p>
  
  <p>/usr/bin/mysqld_safe: 126: /usr/bin/mysqld_safe: cannot create
  /var/log/mysql/error.log: Permission denied</p>
  
  <p>vagrant@localhost:~$ [1]+  Exit 1<br>
  /usr/bin/mysqld_safe</p>
</blockquote>

<p>Can some one show me a solution in simple way?</p>