Where can I find the root directory?

Discussion in 'Site & Server Administration' started by Chancey, Mar 25, 2008.

  1. #1
    I have already setup a MYSQL database on my server. I can't find the root directory to which I will upload my wordpress files. Can anyone tell me how to upload the files to my database?:confused:

    Please help me!
     
    Chancey, Mar 25, 2008 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    It goes by different names based on control panel.

    On a cPanel server the root is public_html. Post back with your control panel if it is not cPanel and someone will post the answer.
     
    Colbyt, Mar 25, 2008 IP
  3. Chancey

    Chancey Well-Known Member

    Messages:
    3,933
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    130
    #3
    I'm using a cpanel.

    Do I need to install them one by one?

    Can I just copy and paste the whole files from computer into my server?
     
    Chancey, Mar 25, 2008 IP
  4. titahost

    titahost Peon

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    in Cpanel, You can Zip/rar them on your PC and Unrar them on the Server or use FTP.

    For Cpanel, The Name is usually public_html
     
    titahost, Mar 25, 2008 IP
  5. Chancey

    Chancey Well-Known Member

    Messages:
    3,933
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    130
    #5
    How long does it takes before it can unzip all the files to my server?
     
    Chancey, Mar 26, 2008 IP
  6. titahost

    titahost Peon

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    depends on the size. usually it takes around 2-3 minutes.
    but i never used it too much.(Prefer FTP)
     
    titahost, Mar 26, 2008 IP
  7. Chancey

    Chancey Well-Known Member

    Messages:
    3,933
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    130
    #7
    I have already installed all the files on my server but all I got is this

    Error establishing a database connection

    How can I correct this problem?
     
    Chancey, Mar 26, 2008 IP
  8. titahost

    titahost Peon

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    have you created a database and used the correct username and password?
     
    titahost, Mar 26, 2008 IP
  9. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #9
    check if database is already running on the server,
    issue the command
    mysql -u username -p
    and then enter the password when prompted to.
    check if you are able to access the database.
     
    maestria, Mar 26, 2008 IP
  10. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #10

    Did you update the config file (mamed wp_config sample or something like that) with your database info.

    Read the directions I think you also have to rename the file.
     
    Colbyt, Mar 26, 2008 IP
  11. mrki

    mrki Active Member

    Messages:
    206
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #11
    I am not sure if he will understand that command and where to place it since he is using cpanel ;)
     
    mrki, Mar 27, 2008 IP
  12. everythingisplanned

    everythingisplanned Peon

    Messages:
    365
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #12
    if u r using Cpanel u can easy upload file, if u r using other
     
    everythingisplanned, Mar 27, 2008 IP