Menu

Cannot Connect To MySQL Database

Help
djshreve
2009-05-15
2013-06-03
  • djshreve

    djshreve - 2009-05-15

    I have a form created, but I keep getting this message:

    Warning: include(config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/djshreve/public_html/taxpreparerrequestform/processor.php on line 5

    Warning: include(config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/djshreve/public_html/taxpreparerrequestform/processor.php on line 5

    Warning: include() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/djshreve/public_html/taxpreparerrequestform/processor.php on line 5

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'djshreve'@'localhost' (using password: NO) in /home/djshreve/public_html/taxpreparerrequestform/processor.php on line 6
    Could not connect to database: Access denied for user 'djshreve'@'localhost' (using password: NO)

    What does this mean???

    Please help!  I'm a beginner with MySQL. 

     
    • TNTEverett

      TNTEverett - 2009-05-16

      This file should exist and it should have your DB connection username, password, etc...
      If it does not exist then something went wrong.  You will need to start over or create this file yourself. 
      Here is an example file:

      <?
      $db=1;
      $db_host="localhost";
      $db_name="test";
      $db_table="test93101";
      $db_user="tester";
      $db_pass="TestPasswd";
      ?>

       

Log in to post a comment.