URGENT MySQL Problems

Discussion in 'MySQL' started by aditya_sfs, May 1, 2006.

  1. #1
    Hello friends

    Can you please help

    I was installing a PHP Link Directory script... i made a data base named "aditya_dir" and also root ID and password..then uploaded the scripts package to the server ....I changed all settings in config.php and changed the database name and server to "localhost" (I have verified) and every information is correct there...still i am getting a error... while running install.php ..."Database not found" ...please help

    www.desifunda.info/dir/install.php

    regards
    aditya
     
    aditya_sfs, May 1, 2006 IP
  2. Foxy

    Foxy Chief Natural Foodie

    Messages:
    1,614
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    server name is 'localhost'

    database name is not 'localhost'
    it is 'aditya_dir'

    user is 'aditya_xxxx'
    password is 'yyyyy'
    :)
     
    Foxy, May 1, 2006 IP
  3. aditya_sfs

    aditya_sfs Peon

    Messages:
    2,271
    Likes Received:
    389
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Did the same thing...still no benefit..
    same error
     
    aditya_sfs, May 1, 2006 IP
  4. Matts

    Matts Berserker

    Messages:
    195
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Are you on shared hosing where your database name would be prefixed with the username of the database? In the systems I have on a cpanel controlled shared host, clicking on the mysql icon, will show the connection string need less password. So for instance the database name might be aditya_aditya_dir, if aditya is your cpanel user name.
     
    Matts, May 1, 2006 IP
  5. blueoceanwave

    blueoceanwave Peon

    Messages:
    210
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    who's your host?
     
    blueoceanwave, May 1, 2006 IP
  6. aditya_sfs

    aditya_sfs Peon

    Messages:
    2,271
    Likes Received:
    389
    Best Answers:
    0
    Trophy Points:
    0
    #6
    my cpanel user name is "aditya" and database name is "dir" so the database name comes to be "aditya_dir"
     
    aditya_sfs, May 4, 2006 IP
  7. ahmedsamer

    ahmedsamer Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    hi
    may be the problem from safemode
     
    ahmedsamer, May 12, 2006 IP