Bài đăng

Đang hiển thị bài đăng từ tháng 1 17, 2015

Hướng dẫn cài đặt WordPress trên Localhost, nguồn http://visaonho.com/

Hình ảnh
Trong bài viết này visaonho xin hướng dẫn các bạn cài đặt WordPress trên localhost (Windows) để test hay học tập. Trước tiên bạn tải phiên bản WordPress mới nhất  tại đây  hoặc  tại đây Sau khi download xong bạn để đấy và tiến hành làm theo các bước sau 1. Tạo localhost để chạy wordpress Trong bài này mình sử dụng XAMPP để tạo localhost, các bạn xem hướng dẫn cài đặt và cách sử dụng trong bài này. Tạo localhost trên Windows với XAMPP Sau khi đã tạo xong localhost bạn giải nén wordpress vào thư mục  \xampp\htdocs 2. Tạo database cho wordpress Truy cập vào  http://localhost/phpmyadmin/  (lưu ý là đã khởi động chương trình XAMPP) Vào tab Database, phần Create database gõ tên database mà bạn muốn tạo vào, ô bên cạnh chọn utf8_unicode_ci, click vào Create để tạo database. Các database hiện có sẽ hiển thị ở cột bên trái. phpMyadmin của XAMPP có user mặc định là root, không có password 3. Cấu hình file wp-config.php Vào thư mục chính của wordpress tìm file wp-config

The specified password for user account ‘root’ is not valid, or failed to connect to the database server.

While installing WordPress 3.4 via Web Platform Installer 4.0 on IIS 7, at some point the Web Platform Installer asks for MySQL ‘root’ user password. There you might get this error: “The specified password for user account ‘root’ is not valid, or failed to connect to the database server”. That happens even if you enter the correct password. Here is how to fix it: In the Windows registry, delete the mysql_pwd reg key under HKCU\Software\Microsoft\WebPlatformInstaller Download and install the latest  MySql .NET Connector (32 bit) . At the time of  writing, the latest version of MySql .NET Connector was 6.6.4.