ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comพัฒนาเว็บไซต์CMS & Free Scriptสอบถาม การติดตั้่ง wordpress 3.8.1 บน Appserv ต้องแก้ wp-config-sample ยังไงครับ
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: สอบถาม การติดตั้่ง wordpress 3.8.1 บน Appserv ต้องแก้ wp-config-sample ยังไงครับ  (อ่าน 686 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
TomYong
ก๊วนเสียว
*

พลังน้ำใจ: 51
ออฟไลน์ ออฟไลน์

กระทู้: 451



ดูรายละเอียด
« เมื่อ: 22 กุมภาพันธ์ 2014, 23:48:37 »

โค้ดด้านล่างนี้จากไฟล์ wp-config-sample จะต้องกรอกอย่างไรครับ ผมลองหลายรอบมันขึ้น "การเชื่อมต่อกับฐานข้อมูลผิดพลาด" ตลอดเลย
ขอคำแนะนำหน่อยนะครับ

โค๊ด:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
บันทึกการเข้า
wasantec
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 586
ออฟไลน์ ออฟไลน์

กระทู้: 2,613



ดูรายละเอียด
« ตอบ #1 เมื่อ: 23 กุมภาพันธ์ 2014, 00:38:28 »

โค้ดด้านล่างนี้จากไฟล์ wp-config-sample จะต้องกรอกอย่างไรครับ ผมลองหลายรอบมันขึ้น "การเชื่อมต่อกับฐานข้อมูลผิดพลาด" ตลอดเลย
ขอคำแนะนำหน่อยนะครับ

โค๊ด:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

wp-config-sample.php แก้เป็น wp-config.php ครับ
บันทึกการเข้า
หน้า: [1]   ขึ้นบน
พิมพ์