Skip to content

Cannot Connect to Database

Hi guys,

I have upgraded to the latest version of sendy, but when I try to login it tells me I cannot connect to the database - http://www.kreativemedia.com.au/sendy/

I copied the config.php file prior to upgrade, so nothing has changed there. I have checked that mysqli is enabled and all seems fine - www.kreativemedia.com.au/phpinfo.php

I did a clean install, but to no avail.

Please help!

Kylie

Comments

  • BenBen
    edited March 2013

    Hi @kreativemedia,

    "Cannot connect to database" really just means the mySQL credentials are incorrect. Sendy tries to connect to the database, if it can't connect, it will throw this error.

    Can you verify that the mySQL credentials are correct? I know you mentioned nothing has changed but Sendy can't connect to the database with the credentials and mysqli extension is installed. So the issue is with the database credentials.

    You can also PM me your credentials to your Sendy installation and FTP so that I can check.

    Thanks.

    Ben

  • Hi @kreativemedia,

    I've found the issue. Your $dbHost in /includes/config.php is 'localhost:3306'. It should just be 'localhost'.

    Ben

  • Thanks so much for looking into this for me Ben. Awesome support!

  • You're welcome!

This discussion has been closed.