title: Connecting to MySQL Permission Denied
body: <p>I am getting a connection when connecting to MySQL after moving my code to my host server. The error is:</p>
  
  <pre><code>PHP Warning:  mysqli_connect(): (HY000/2002): Permission denied in
  /hermes/bosoraweb112/b883/ipg.iancramergraphicscom/newdev/getContent.php
  on line 15
  </code></pre>
  
  <p>Here's my code:</p>
  
  <pre><code>    $server = '127.0.0.1';
      $username = 'admin_user_1';
      $password = '********';
      $dataBase = 'db_content';
  
      $conn = mysqli_connect($server, $username, $password, $dataBase);
  </code></pre>
  
  <p>I have found some others with this problem that have solved it by changing the SELinux settings, but I am not sure how to even do that to try it.</p>
  
  <p>If it is SELinux, how do I access that to edit?</p>