Search results

  1. L

    Database access denied

    Ok got it working. My config file is correct but on my actual execution php file I forgot to add DB_PASSWORD at this line "$link=mysql_connect(DB_HOST, DB_USER);" it should be "$link=mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);" Thanks for helping ^^
  2. L

    Database access denied

    yes my config is like that. I got the settings right. Still failed to connect to server. Failed to connect to server: Access denied for user 'my username here'@'xo2.x10hosting.com' (using password: NO)
  3. L

    Database access denied

    Hello I'm getting access denied on my website to the database. My config file looks like this <?php define('DB_HOST', 'host IP'); define('DB_USER', 'username'); \\I already added my user to the database in the control panel define('DB_PASSWORD', 'password')...
Top