เรื่องจากผมได้แบ่ง Domain thaiembedded.com ออกเป็น 3 Subdomain แล้ว database ใน DirectAdmin ของผมให้ใช้ Database ได้แค่ 3 ตัว ผมเลยหาทางติดตั้ง Wordpress โดยให้ทั้ง 3 Subdomain ใช้ Database ร่วมกัน
1. เปิดไฟล์ wp-config-sample.php ขึ้นมา
define(’DB_NAME’, ‘putyourdbnamehere‘); // The name of the database
define(’DB_USER’, ‘usernamehere‘); // Your MySQL username
define(’DB_PASSWORD’, ‘yourpasswordhere‘); // …and password
define(’DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(’DB_CHARSET’, ‘utf8′);
define(’DB_COLLATE’, ”);
