Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

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

  • 4 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    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

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    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!

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    You're welcome!

This discussion has been closed.
All Discussions