ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Database Error

October 07, 2010 10:30am

Subscribe [3]
  • #1 / Oct 07, 2010 10:30am

    thesrk

    3 posts

    Hi,

    Embarrassingly basic problem but I just can’t get EE2 to connect to my database when trying to install.

    - I’ve created the database.

    - I can log in to mySQL (database.studiosrk.com) using the exact same username and password that I entered into EE install page.  So I know it’s there.

    - Tried every combo of usernames and passwords i can think of but always comes up as “Unable to connect to your database server using the provided settings.”

    Could this be a problem with the server or is it simply to do with the connection to database…?


    Ryo

  • #2 / Oct 07, 2010 10:40am

    thesrk

    3 posts

    Additional info:

    I’m working on this site for a client who has a server already.
    I’ve uploaded EE 2.1 onto that server but database is on my own server.

    Does this matter?

  • #3 / Oct 07, 2010 10:45am

    Benjamin

    116 posts

    If your database isn’t on the same server as the website, make sure your database address (hostname) is not set to “localhost” but to “database.studiosrk.com”

  • #4 / Oct 07, 2010 10:54am

    thesrk

    3 posts

    Yes I’ve had the address set as “database.studiosrk.com”... 
    I just can’t believe that i have the wrong username or password.. I’ve tried so many different combinations too.. grrr
    I still hope it’s just me being stoopid and inputting the wrong details but I wanted to see if it’s got anything to do with the server or not. 
    But if it’s saying it’s not connecting to the database (which does exist) then it has to be an issue with connection and not server no?

  • #5 / Oct 07, 2010 12:25pm

    Benjamin

    116 posts

    First, I would advice you to remove your mysql username and password from your previous post.

    If your details are correct and entered correctly, it could easily be a server (security) setting. Are you sure your mysql database allows remote connections, sometimes remote connections are blocked for security reasons.

  • #6 / Oct 07, 2010 1:29pm

    thesrk

    3 posts

    Cool, thanks I will get in touch with the server and see what’s up! 

    Thanks for your help

  • #7 / Oct 07, 2010 2:37pm

    Ingmar

    29245 posts

    Sounds good; please keep us in the loop.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases