Sunday, 15 August 2010

mysql - Two WordPress Sites (separate DB) on One Windows Server? -



mysql - Two WordPress Sites (separate DB) on One Windows Server? -

i have server runs wordpress site , wanted know if there way add together exclusively different wordpress site operating on own database on same server. how can done on windows server?

there 2 ways this. first create separate mysql database new site. can either phpmyadmin or mysql console easily.

create database `my_new_wordpress_db`;

then when sec wordpress installation utilize new database instead of first database when asks database name.

alternatively can set both installations in same database utilize different table prefixes instead. during install wordpress provides "table prefix" alternative can alter else allow both sites stored in same database @ same time. can find alternative on on line 62 of wp-config.php file.

$table_prefix = 'wp_';

mysql wordpress wordpress-plugin

No comments:

Post a Comment