In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Foreword:
The above is mainly about building the running environment of wordpress. This question will mainly talk about how to configure the database and wordpress to make this blog system accessible.
Text:
First of all, we have to create a new database in the mariadb database and set the account password to give the user access rights. In the case of mode, you can connect to the database anonymously. Use the mysql command to enter the database:
[root@localhost ~] # mysqlMariaDB [(none)] > create database wordpress;# create a new database named wordpress MariaDB [(none)] > grant all on wordpress.* to 'xiaofengfeng'@'localhost' identified by' 1234 transactions # give user xiaofengfeng access to all wordpress tables with a password of 1234.MariaDB [(none)] > quit
We have already set up the database. We enter the server's ip or domain name to access wordpress (if it is https, we can only enter the domain name), and then enter the response information
After clicking submit, a configuration information will be generated. We will copy the configuration content, then create a new configuration file under the directory of the wordpress website, and paste the configuration content directly into it. The blogger's directory is / var/www/html/vhost2/. After the configuration file is generated, we install it directly, and then follow the prompts to install it. With such pleasure and happiness, we have our own blog site. Of course, if you want others to access, you have to buy a server or virtual host, and then buy a domain name and so on.
If you set up MyAdmin as in the previous article, you can directly enter the account and password of the database, which is the xiaofengfeng 1234 above to directly manage the database.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.