title: How to fix: Error- No database selected
body: <p>SERVER RESPONSE</p>
  
  <p>Error: INSERT INTO epiz_19848473_Liste1 (Rowcount, Level1) VALUES (0, 'any Value')
  No database selected</p>
  
  <p>PHP CODE</p>
  
  <p><strong>UPDATE</strong></p>
  
  <pre><code>&lt;?php
  $servername = "sql308.epizy.com";
  $username = "epiz_19848473";
  $password = "huihuibuh";
  $dbname = "Liste1";&lt;--UPDATED
  
  // Create connection
  $conn = mysqli($servername, $username, $password, $dbname);
  // Check connection
  if ($conn-&gt;connect_error) {
      die("Connection failed: " . $conn-&gt;connect_error);
  } 
  
  $sql = "INSERT INTO Liste1 &lt;--UPDATED (Rowcount, Level1)
  VALUES (0, 'any Value')";
  
  if ($conn-&gt;query($sql) === TRUE) {
      echo "New record created successfully";
  } else {
      echo "Error: " . $sql . "&lt;br&gt;" . $conn-&gt;error;
  }
  
  $conn-&gt;close();
  ?&gt;
  </code></pre>
  
  <p>This should work, right?</p>
  
  <p>NEW STATUS
  Connection failed: Access denied for user 'epiz_19848473'@'192.168.0.%' to database 'Liste1'</p>