WordPress Guide Basic – Action on localhost

WordPress Guide Basic – Action on localhost
3.1 (61.54%) 26 votes

Work with folders and files

Now go to the directory C:\xampp\htdocs\ and create a directory called “Tech24h”, which will contain your website.

As above, I have directed you to create a folder called Tech24h in the htdocs directory and you can use http://localhost/Tech24h to run. So now I can say that the directory C:\xampp\htdocs\Tech24h is the root of the http://localhost/Tech24h domain.

Create a MySQL database (Database)

When referring to a database, you must remember that it consists of three main components:

  1. The username of the database.
  2. The password of the user database.
  3. Database name.

Imagine that the database user is supposed to read and write data to the database, so when using the PHP source code, you must declare both the database user and the database name at the same time.

For localhost, you do not need to create a user for the database that will use the user information as follows:

  • user database: root
  • Password: empty

To create a database, go to localhost with http://localhost/phpmyadmin. Then click the Databases menu.

Localhost wordpress phpmyadmin
Localhost wordpress phpmyadmin

Then in the Create databsae, enter the database name to create the Database name, the Collation you select is utf8_unicode_ci as shown below and press the Create button next.

Finished look at the left hand menu, if it appears the database name just created is successful. So now, we have a database with information like:

  • Database Host: localhost
  • Database user: root
  • Database password: empty
  • Database name: Tech24h

And how to use it, I will say the step of installing WordPress on the localhost for real.

You May Also Like

About the Author: admin

16 Comments

  1. Woah! I’m really digging the template/theme
    of this website. It’s simple, yet effective. A lot of times it’s hard to
    get that “perfect balance” between usability and visual appearance.
    I must say that you’ve done a very good job with this.

    Additionally, the blog loads extremely fast for me on Chrome.
    Outstanding Blog!

  2. Heya! I understand this is sort of off-topic however I needed to ask.
    Does operating a well-established blog like yours require a massive
    amount work? I’m brand new to blogging but I do write in my diary daily.
    I’d like to start a blog so I can easily share my own experience and feelings online.
    Please let me know if you have any recommendations or tips for brand new aspiring blog owners.
    Thankyou!

  3. Hey there just wanted to give you a brief heads up and let you know a few of the images aren’t loading correctly.
    I’m not sure why but I think its a linking issue.
    I’ve tried it in two different internet browsers and
    both show the same results.

  4. I’m extremely impressed with your writing skills as well as with the layout on your weblog.
    Is this a paid theme or did you modify it yourself? Either way
    keep up the nice quality writing, it’s rare to see a nice blog like
    this one these days.

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *