ພະນົມສິນ
ເພື່ອນສະນິດ
 
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 172
ONE OF LAO BLOGGERS
|
 |
« ເມື່ອ: ກໍລະກົດ 15, 2008, 01:43:06 PM » |
|
ໃນການຕິດຕັ້ງໂປແກມ ທີ່ຕ້ອງໃຊ້ຖານຂໍ້ມູນ ໂປແກມຈະຖາມວ່າ ຖານຂໍ້ມູນຢູ່ໃສ ຖ້າເປັນ ຖານຂໍ້ມູນທີ່ເກັບໄວ້ໃນເຊີບເວີດຽວກັນ ກັບເວັບໄຊ ກໍ່ສາມາດໃຊ້ localhost ຖ້າບໍ່ແມ່ນ localhost ແລ້ວຈະໃຫ້ໃສ່ຫຍັງ ເຊັ່ນຖານຂໍ້ມູນ ເກັບໄວ້ທີ່ https://server.xxxx.com:xxxx/3rdparty/phpMyAdmin/index.php
|
|
|
|
|
Logged
|
|
|
|
au8ust
ຜູ້ເບິ່ງແຍງລະບົບ
ຂັ້ນຊຽນ
   
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 441
ອ່ານວ່າ “ສິງຫາ”
|
 |
« ຕອບກັບ #1 ເມື່ອ: ກໍລະກົດ 15, 2008, 04:10:32 PM » |
|
ຕ້ອງເບິ່ງກ່ອນວ່າມັນອະນຸຍາດໃຫ້ດຶງ External Database ໄດ້ແບບນັ້ນບໍ່ ຖ້າໄດ້ກໍ່ໃສ່ເປັນ URL ຫຼື IP ຂອງ Server ເລີຍ
|
|
|
|
|
Logged
|
|
|
|
ພະນົມສິນ
ເພື່ອນສະນິດ
 
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 172
ONE OF LAO BLOGGERS
|
 |
« ຕອບກັບ #2 ເມື່ອ: ກໍລະກົດ 16, 2008, 05:52:54 PM » |
|
ຖ້າຈະໃຊ້ກັບ www.laoelectric.comຈະໃຊ້ຫຍັງ ລະຫວ່າງ localhost, server.punlao.com, 67.219.42.216, server.punlao.com:2083, ... Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
* Are you sure you have the correct username and password? * Are you sure that you have typed the correct hostname? * Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
|
|
|
|
|
Logged
|
|
|
|
au8ust
ຜູ້ເບິ່ງແຍງລະບົບ
ຂັ້ນຊຽນ
   
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 441
ອ່ານວ່າ “ສິງຫາ”
|
 |
« ຕອບກັບ #3 ເມື່ອ: ກໍລະກົດ 16, 2008, 07:28:27 PM » |
|
server.punlao.com ໄປເອົາມາແຕ່ໃດ ງົງ
ໃສ່ localhost ຖືກແລ້ວ
ໃນ cpanel ມັນສ້າງຖານຂໍ້ມູນແມ່ນມີຊື່ຂອງ username ນຳຫນ້າ ສົງໄສວ່າລືມໃສ່ ຫຼືໃສ່ຜິດມັນເລີຍບໍ່ໄດ້
|
|
|
|
|
Logged
|
|
|
|
ພະນົມສິນ
ເພື່ອນສະນິດ
 
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 172
ONE OF LAO BLOGGERS
|
 |
« ຕອບກັບ #4 ເມື່ອ: ກໍລະກົດ 17, 2008, 10:17:23 AM » |
|
ກ່ອນອື່ນກໍ່ໄປສ້າງfile wp-config.php ຂຶ້ນມາໂດຍການ ເອົາມາຈາກ wp-config-sample.php ແລະເກັບໄວ້ບ່ອນດຽວກັນ ກັບ wp-config-sample.php ຄື /home/pnomsin/public_html/wp-config.php
ຕໍ່ມາກໍ່ເຂົ້າໄປແກ້ໄຂ ຂໍ້ມູນ ໃນນັ້ນ ໂດຍແກ້ ທີ່ ຊື່ຜູ້ໃຊ້, ລະຫັດ ແລະ ຊື່ຖານຂໍ້ມູນ ດັ່ງນີ້:
define('DB_NAME', 'pnomsin_laoelectric'); // The name of the database define('DB_USER', 'root'); // Your MySQL username define('DB_PASSWORD', '******'); // ...and password define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
ຫມາຍເຫດ: * ແທນໃຫ້ລະຫັດຈິງ ເພາະບໍ່ໄດ້ເອົາມາສະແດງ
ແລະ ຜົນໄດ້ຮັບກໍ່ຄື Error establishing a database connection This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
Are you sure you have the correct username and password? Are you sure that you have typed the correct hostname? Are you sure that the database server is running? If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
|
|
|
|
|
Logged
|
|
|
|
au8ust
ຜູ້ເບິ່ງແຍງລະບົບ
ຂັ້ນຊຽນ
   
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 441
ອ່ານວ່າ “ສິງຫາ”
|
 |
« ຕອບກັບ #5 ເມື່ອ: ກໍລະກົດ 17, 2008, 10:18:48 AM » |
|
ມັນຜິດບ່ອນ define('DB_USER', 'root'); // Your MySQL username
ທຳມະດາຕ້ອງແມ່ນ define('DB_USER', 'pnomsin_DBNAME'); // Your MySQL username
ກວດຄືນບ່ອນນີ້ໃຫມ່ເບິ່ງເດີ້
|
|
|
|
|
Logged
|
|
|
|
ພະນົມສິນ
ເພື່ອນສະນິດ
 
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 172
ONE OF LAO BLOGGERS
|
 |
« ຕອບກັບ #6 ເມື່ອ: ກໍລະກົດ 17, 2008, 10:30:30 AM » |
|
ຊື່ຜູ້ໃຊ້ pnomsin_pnomsin ຊື່ຖານຂໍ້ມູນ pnomsin_laoelectric
We were able to connect to the database server (which means your username and password is okay) but not able to select the pnomsin_laoelectric database.
Are you sure it exists? Does the user pnomsin_pnomsin have permission to use the pnomsin_laoelectric database? On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
|
|
|
|
|
Logged
|
|
|
|
au8ust
ຜູ້ເບິ່ງແຍງລະບົບ
ຂັ້ນຊຽນ
   
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 441
ອ່ານວ່າ “ສິງຫາ”
|
 |
« ຕອບກັບ #7 ເມື່ອ: ກໍລະກົດ 17, 2008, 10:36:06 AM » |
|
ຫມາຍຄວາມວ່າ
ສ້າງ database user ແລ້ວ ສ້າງ database ແລ້ວ
ແຕ່
ຍັງບໍ່ໄດ້ assign ໃຫ້ user ມີສິດໃນ database ເທື່ອ
ເຂົ້າໄປ cpanel ແລ້ວເຂົ້າໄປຕັ້ງຄ່າ add user to database ກ່ອນ ເລືອກ all ແລ້ວ ok ເພື່ອໃຫ້ user ນັ້ນ ໆ ມີສິດໃນການຈັດການ database ທີ່ຕ້ອງການ
|
|
|
|
|
Logged
|
|
|
|
ພະນົມສິນ
ເພື່ອນສະນິດ
 
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 172
ONE OF LAO BLOGGERS
|
 |
« ຕອບກັບ #8 ເມື່ອ: ກໍລະກົດ 17, 2008, 01:22:09 PM » |
|
ເຮັດບໍ່ເປັນ ເລີຍລຶບອອກຫມົດ ແລ້ວເລີ້ມໃຫມ່ ໂດຍໃຊ້ wizard
ແລະ ອອກມາເປັນແບບນີ້ Welcome to the famous five minute WordPress installation process! ຫນ້າຈະໄດ້ແລ້ວ ໄດ້ຄວາມຮູ້ຫລາຍຢ່າງ ຂອບໃຈຫລາຍໆ
|
|
|
|
|
Logged
|
|
|
|
au8ust
ຜູ້ເບິ່ງແຍງລະບົບ
ຂັ້ນຊຽນ
   
ຄວາມດີ: 0
Offline
ຂໍ້ຄວາມ: 441
ອ່ານວ່າ “ສິງຫາ”
|
 |
« ຕອບກັບ #9 ເມື່ອ: ກໍລະກົດ 17, 2008, 02:44:56 PM » |
|
ຮະຮະ ຍິນດີນຳເດີ້
|
|
|
|
|
Logged
|
|
|
|
|