WordPress

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第7行: 第7行:
 
  mysql>GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost IDENTIFIED BY 'wordpress';
 
  mysql>GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost IDENTIFIED BY 'wordpress';
 
  mysql>flush privileges;
 
  mysql>flush privileges;
 +
 +
设置 wp-config.php
 +
cp wp-config-sample.php wp-config.php
 +
// ** MySQL settings ** //
 +
define('DB_NAME', 'wordpress');    // The name of the database
 +
define('DB_USER', 'wordpress');    // Your MySQL username
 +
define('DB_PASSWORD', 'wordpress'); // ...and password
 +
define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
 
==相关链接==
 
==相关链接==
 
*http://wordpress.org/
 
*http://wordpress.org/

2006年7月20日 (四) 18:34的版本

Wordpress-120x90.png

安装指南

创建数据库

mysqladmin -u root -p create wordpress 或
mysql>create database wordpress;
mysql>GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost IDENTIFIED BY 'wordpress';
mysql>flush privileges;

设置 wp-config.php

cp wp-config-sample.php wp-config.php
// ** MySQL settings ** //
define('DB_NAME', 'wordpress');     // The name of the database
define('DB_USER', 'wordpress');     // Your MySQL username
define('DB_PASSWORD', 'wordpress'); // ...and password
define('DB_HOST', 'localhost');     // 99% chance you won't need to change this value

相关链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱