Joomla1.5 Database Error:Unable to connect to the database:Could not connect to MySQL

Discussion in 'MySQL' started by Torans, May 2, 2009.

  1. #1
    Hi, i am getting this error after i transfered all my joomla 1.5files as well as imported DB to new host:

    Since i am not an expert i must of forgot to change something in config.php file !


    The files i changed are fallowing:


    $user
    $db
    $live_site
    $password
    $smtphost = ( left the same localhost)

    i am a bit confused about directories, which file should i rename for my main joomla directory, where i got all my files in.
    Must be this one i guess:

    var $tmp_path ???

    As well, what does this file $dbprefix ?

    I have not changed my $host, wasnt sure where do i find the new host name. I am moving my host from Godaddy to a WHM CP panel reselelr hosting.



    Cheers

    V.
     
    Torans, May 2, 2009 IP
  2. WarMarks

    WarMarks Peon

    Messages:
    125
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you provided correct username,passoword and server(host)link for new the host where your
    database is located?

    For any question I suggest you ask your new host to assist in this process,
    they will be happy to assist you as a new customer...

    Or ask your webmaster or tech friend to handle this...
     
    WarMarks, May 3, 2009 IP
  3. Torans

    Torans Active Member

    Messages:
    1,418
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Yes i double checked today and turns out i was entering a wrong pw, always have to double check things like this, 1 character wrong and booms, nothing will load.

    So this problem is sorted.

    Thanks

    V.
     
    Torans, May 3, 2009 IP
  4. WarMarks

    WarMarks Peon

    Messages:
    125
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi Vairo,

    It is great to know that at last problem is solved!!!

    Have a great day,
    WM
     
    WarMarks, May 5, 2009 IP