Results 1 to 8 of 8

Thread: Error establishing a database connection
      
   

  1. #1
    Join Date
    Jul 2009
    Posts
    2

    Default Error establishing a database connection

    Hi I keep getting this error message when trying to log into my Word Press account
    Error establishing a database connection


    my brother tried logging in on his comp. as well but with no luck, he uses Go ***** as his provider so we can only guess that the problem resides with my Blue Voda account as his website is accesable.
    If you try this url you will see what I mean.

    http://coastreconairsoft.ca/wp-login.php

    Thank you kindly
    Drew

  2. #2
    Join Date
    Apr 2009
    Posts
    4

    Default Re: Error establishing a database connection

    Dear Sir
    I have working update in php file below the coading working in localhost in our system but this coading send to our server that is not working any one help
    this
    if($_GET['activation_code'])
    {
    $time_now=mktime(date('h')+0,date('i')+0);
    $a=date('h:i:s',$time_now);
    echo $b=date("Y-m-d");
    include'dbc.php';



    $con = mysql_connect("localhost","root","aid");
    if (!$con)
    {
    die('Could not connect: ' . mysql_error());
    }

    mysql_select_db("my_db", $con);

    mysql_query("UPDATE emp_att SET notes = '$notes', report='$report', out_time1='$a'
    WHERE activation_code = '$activ_code' AND date = '$b'");

    mysql_close($con);


    Regares
    AJP

  3. #3
    Join Date
    Jul 2009
    Posts
    2

    Default Re: Error establishing a database connection

    IM sorry but I don't understand anything about codeing, what should I do?
    Thank You Drew Plumbe

  4. #4
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,332

    Default Re: Error establishing a database connection

    stop adding code you know nothing about.

    Go here
    http://www.vodahost.com/vodatalk/wor...rol-panel.html

    to learn how to install wordpress

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  5. #5
    Join Date
    Apr 2009
    Posts
    4

    Default Re: Error establishing a database connection

    Quote Originally Posted by coastrecon View Post
    Hi I keep getting this error message when trying to log into my Word Press account
    Error establishing a database connection


    my brother tried logging in on his comp. as well but with no luck, he uses Go ***** as his provider so we can only guess that the problem resides with my Blue Voda account as his website is accesable.
    If you try this url you will see what I mean.

    http://coastreconairsoft.ca/wp-login.php

    Thank you kindly
    Drew
    Thanks sir now only i got wordpress

  6. #6
    Join Date
    Nov 2007
    Posts
    477

    Default Re: Error establishing a database connection

    Hi coastrecon

    Your blog seems OK at this end.

  7. #7
    Join Date
    Apr 2009
    Posts
    4

    Default Re: Error establishing a database connection

    dear sir
    I am working attendance sheet in php
    i have update command its working in localhost but the same coading not working server any one can help me
    regards AJP

  8. #8
    Join Date
    Apr 2009
    Posts
    4

    Default update problems

    dear sir
    I am working attendance sheet in php
    i have update command its working in localhost but the same coading not working server any one can help me
    regards AJP

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •