• Two weeks ago I downloaded the newest version of WordPress (having never used WordPress before) and created a site on my hard drive. I finished it last Friday and uploaded it (so I thought) using File Zilla as recommended. When the site didn’t appear, I contacted my then web host (Yahoo) and was informed they don’t support the newest version of WP.

    I then sought out a new web host, opened an account, jumped through many hoops to get my domain repointed, etc. Finally, tonight I used File Zilla to upload the site to the new host — again, or so I thought.

    Again, the site didn’t appear. I contacted the new host’s tech support and was informed I need to not merely upload the wordpress files, but also the database. Unfortunately, I don’t know the first thing about this database. I assume such must exist since I created a site on my hard drive that would “run” on my hard drive — the pages could be navigated, the theme appeared fine, etc. But, I have no idea if a database exists and or/how to locate it/upload it, etc. And, if it doesn’t, where are my content files (theme, pages of the site, etc.)?

    I should also add that I created a static site — there is no blog (except a blogspot blog linked to the site, though, obviously this is maintained separately and does not involve a database on my hard drive.)

    I’m reasonably confident in my ability to follow directions (hence, creating a site at all), but am by no means (as the above proves!) familiar with web design, servers, etc. I was hosted with Yahoo for 10 years, having created a FrontPage site way back in 2001, which I merely added to and updated until this new WordPress experience starting two weeks ago. I am eager to get this new WP site (which I’m really very proud of, I must admit) on the web and available to visitors. Any and all help is greatly appreciated!

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • If you tell me how you install WordPress on your hard drive then I can tell you where your database is!

    Thread Starter artistinsane

    (@artistinsane)

    nsathees wrote:

    “If you tell me how you install WordPress then I can tell you where your database is!”
    ————-

    I clicked on the download link from www.remarpro.com and followed the instructions to install it on my hard drive (using Windows 7). I’m not sure what info you need specifically, but will glad provide whatever I can. Just let me know.

    Thread Starter artistinsane

    (@artistinsane)

    I should add that I open the site on my hard drive Microsoft Web Matrix, which has a “Database” link at the bottom left of the screen. But, when I click on this it merely offers the option to add a database to your site…again, just not sure what all this means or where the site’s theme and content info could be located.

    Again, thanks.

    I am linux guy so can’t help you further on that. If you would have used XAMPP or any other open source Database, then I could have told you have to back-up and upload to your online host.

    In your case try to export the database in sql format and import it using phpMyAdmin within your cPanel of your HOST (Assuming you have a Linux flavor hosting provider)

    So what you need to do is:

    1. Login to your webhosting account.
    2. Find MySQL Database
    3. Click add new database and give it a name
    4. Create new user and password.
    5. open wp-config-sample.php file and search for this

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'database_name_here');
    
    /** MySQL database username */
    define('DB_USER', 'username_here');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'password_here');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost')

    6. DB Name is what you created in step 3
    7. DB_User and DB-Pasword is what you created in step 4.
    8. DB_Host should be provided by your host (might be called server name). You can try leaving it localhost the first time to see what happens since it doesn’t always need to be changed.
    9. Rename file to wp-config.php (NOTE: Make sure it is a php file and doesn’t save as a txt file) and reupload to server. (You can delete the wp-config-sample.php file now since it’s no longer needed.)
    10. Run yoursite.com/wp-admin/install.php and it will finish setup and create database files. Shouldn’t affect the files that you manipulated already. If it does, you can always re-upload certain files after install.

    10a. yoursite.com should be changed to the domain that you own. If wordpress isn’t installed in the root folder be sure to add the folder path before wp-admin in the web address.

    example: yoursite.com/wordpress/site/wp-admin/install.php

    A database just stores information such as login information for users (username and password) on the server. This is what the website looks for when a user wants to log in to your website.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uploading WordPress Site from Hard Drive’ is closed to new replies.