admin管理员组文章数量:1425855
Here are the steps I took in downloading and setting up WordPress on a WAMP (Windows, Apache2, MySQL, PHP):
1.) Download WAMP Server, here: WAMP Server Installation
2.) Download WordPress on Wordpress
3.) Using PHP MyAdmin, click on Databases, and 'create new database' (choose a name)
4.) Extract the downloaded zip Wordpress file and copy it to C:/WAMP/www/ and paste WordPress folder there
http://localhost/wordpress and it works!
5.) Create a confif.php file and add the database name that you created above
6.) Follow the instructions on screen to install WordPress and then login
That's it! Everything looks great and I can customize my Wordpress Site on localhost/wordpress - The name of my wordpress folder
Now, I am done with my first site and I would like to create another site. My quesiton is:
Do I have to go through this process again? Do I use the same database created to create another site which will have different content? If so, how can I do this? What steps do I follow?
Here are the steps I took in downloading and setting up WordPress on a WAMP (Windows, Apache2, MySQL, PHP):
1.) Download WAMP Server, here: WAMP Server Installation
2.) Download WordPress on Wordpress
3.) Using PHP MyAdmin, click on Databases, and 'create new database' (choose a name)
4.) Extract the downloaded zip Wordpress file and copy it to C:/WAMP/www/ and paste WordPress folder there
http://localhost/wordpress and it works!
5.) Create a confif.php file and add the database name that you created above
6.) Follow the instructions on screen to install WordPress and then login
That's it! Everything looks great and I can customize my Wordpress Site on localhost/wordpress - The name of my wordpress folder
Now, I am done with my first site and I would like to create another site. My quesiton is:
Do I have to go through this process again? Do I use the same database created to create another site which will have different content? If so, how can I do this? What steps do I follow?
Share Improve this question asked May 25, 2019 at 20:32 WestWest 211 silver badge6 bronze badges2 Answers
Reset to default 1Yes, usually you create a new database, user and password as well as use another copy of WordPress to create a new site. You can create a new directory in the same place where the "wordpress" directory is located and use that one for the new site.
Note that it is possible to use the same database for two different sites if you use a different table prefix (usually wp_). However, this is only advisable in same cases.
Yes you have to create new database for new wordpress site. It's imposible to create several wordpress websites with one database if you use prefix in tables names.
本文标签: mysqlSetting up Wordpress Locally on WAMP for a new site (with one already)
版权声明:本文标题:mysql - Setting up Wordpress Locally on WAMP for a new site (with one already) 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745460840a2659318.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论