WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Installing PhpMyAdmin on remote server, and then WordPress (12 posts)

  1. evuki
    Member
    Posted 2 years ago #

    I'm slowly losing my mind over this (1st day in this).

    So, I have a site, bare naked thus far, you only get hosting service information when you open it. Its control panel has ability to add new databases, but no phpMyAdmin, which I decided to install manually, and then install WordPress using that.

    But, how? I used Filezilla to transfer contents of phpMyAdmin folder I downloaded and extraceted from my Desktop to the root folder of the site, but I get 404... Obviously I have to create some kind of database and user, but I'm lost.

    Please help? It's quite urgent...

  2. Jonathan
    Member
    Posted 2 years ago #

    What host are you using. You don't really need to use phpMyAdmin to install WP you could just make the database then use the WP installer to handle the rest.

    I am fairly sure that most hosts (unless you have a vps or something similar) will not allow installs of phpMyAdmin.

  3. evuki
    Member
    Posted 2 years ago #

    Just found out an older version of phpMyAdmin buried somewhere in the control panel, and I've made the database, made the user, edited config.php and uploaded wordpress folders and filed, but domainname.com/wp-admin/install.php is 404... Any suggestions?

  4. Jonathan
    Member
    Posted 2 years ago #

    What happens you go to domainname.com, I normally make a database and user then upload the WP files and go to domainname.com and use the auto installer.

    If you are getting a 404 that means the page is not there, Check your directories and makes sure that WP is in the /public_html or /www folder.

  5. evuki
    Member
    Posted 2 years ago #

    I checked hundreds of times, but I think the problem lies in the DB_HOST line in config.php... It doesn't work with the usual 'localhost' value...

  6. Jonathan
    Member
    Posted 2 years ago #

    Is the mySQL server on the same box or on another. A simple way to check would be to put the code below in a php file and open it from your browser.

    <?php
    $con = mysql_connect("localhost","username","password");
    if (!$con)
      {
      die('Could not connect: ' . mysql_error());
      }
    
    echo 'Connected';
    
    mysql_close($con);
    ?>
  7. evuki
    Member
    Posted 2 years ago #

    Did what you said, got 404 again...what does that tell me?

  8. Jonathan
    Member
    Posted 2 years ago #

    Either:

    Wrong directory
    .htaccess blocked
    no read permissions

  9. fonglh
    Member
    Posted 2 years ago #

    Sounds like you might be putting the files in the wrong directory. They need to go in the folder configured as the web root in the web server, not the root folder of the server.

  10. evuki
    Member
    Posted 2 years ago #

    I think I did alright there, I put them in 'wwwroot' folder, it's said to put stuff into that folder so others will be able to see it... There's only 'db' and 'logs' folders beside that.

  11. fonglh
    Member
    Posted 2 years ago #

    Can you access html files in the wwwroot folder? Has the domain name propagated through the DNS system yet?

  12. evuki
    Member
    Posted 2 years ago #

    Yes. But it appears my aunt bought the cheapest package, with actually no support for php/mysql. Didn't know there could exist such a piece-of-crap option. Resolved, I guess...

    Thank you very much, though :)

Topic Closed

This topic has been closed to new replies.

About this Topic