欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2/Agda, C++/Lisp/Haskell
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的版本
安装指南
创建数据库
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
相关链接
- http://wordpress.org/
- WordPress中文文档 http://codex.wordpress.org.cn/
分享您的观点
