38 users online (0 members and 38 guests)  


  Results 1 to 5 of 5

Related

  1. Replies: 0
  2. perl database connection problem    Forum: CGI Perl Forum
    Replies: 0
  3. database error    Forum: PHP Forum
    Replies: 4
  4. Replies: 0
  5. need help with database connection    Forum: Databases
    Replies: 5
  1. #1
    NiTx's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    1

    database connection error

    Hi,
    I just installed XAMPP which is mysql, phpmyadmin, php, apache, and all the other goodies. I set up a database called login and a table called user_logins. I then added my table contents.
    Then went to Dreamweavr opened a new PHP, and tried to make a database connection. I got the error "HTTP error code 404 file not found"
    Connection name I put in was : "connLogin", mySQL serve : "local host", username: "root", password was my password and datavase: "login".
    I'm not sure why it isnt working it should be working. Please if you can, help me.

  2. #2
    c010depunkk's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    5

    Re: database connection error

    first of all make sure that xampp is running

    then double check all the login data

  3. #3
    kajun's Avatar
    Disabled

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    3

    Re: database connection error

    while you are installing some files are missing.

  4. #4
    mega_traffic's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Location
    Paralowie, South Australia
    Posts
    20

    Re: database connection error

    Quote Originally Posted by NiTx View Post
    Hi,
    I just installed XAMPP which is mysql, phpmyadmin, php, apache, and all the other goodies. I set up a database called login and a table called user_logins. I then added my table contents.
    Then went to Dreamweavr opened a new PHP, and tried to make a database connection. I got the error "HTTP error code 404 file not found"
    Connection name I put in was : "connLogin", mySQL serve : "local host", username: "root", password was my password and datavase: "login".
    I'm not sure why it isnt working it should be working. Please if you can, help me.
    Most likely your problem is you have defined the server at "local host" (note the space between the words).

    It should be "localhost".

    Try that and see how you go.

    Cheers




    Tim Buchalka

  5. #5
    flann's Avatar
    New User

    Status
    Offline
    Join Date
    May 2007
    Posts
    18

    Re: database connection error

    with a 404 page not found error, its sounds like dreamweaver was looking for a particular file that it just couldnt find. Is there anything in your code that is linking or calling another file?



Tags for this Thread