![]() |
Sharing WP MySQL
Pretty sure I read here that you can have multiple WP blogs on one MySQL database.
Can someone confirm this for me? |
I wrote a little routine that I use to pull the newest post from the WP database and use it to show on another site. Yes, in theory, you can access the data and use it in more than one place.
However, because WP puts all the site information and such into the DB, it is hard to get around stuff. You would have to make a nice custom hack to use one database for the site information (which includes all the links, categories, the base URL, etc) and another to get the posts. That would probably get ugly. |
You can setup blogs or other scripts on the same DB as long as you put a different table prefix on during the install.
|
Quote:
Code:
// You can have multiple installations in one database if you give each a unique prefix |
thank you, every one
|
It is possible but is it wise ?
I rather have 100 small mysql databases than 1 large database. Much better if you want to restore |
Quote:
|
Quote:
Keep it simple and spread the risk. |
Quote:
|
All times are GMT -7. The time now is 01:23 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123